aboutsummaryrefslogtreecommitdiff
path: root/pkgs/servers/hylafaxplus/post-install-check.sh
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2018-08-04 14:10:28 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2018-09-08 14:21:40 +0200
commita08b633fe7b636556ece29cc75448254b6ac3d28 (patch)
treef4ca158658072e16db424cba1febbcd23d732c9a /pkgs/servers/hylafaxplus/post-install-check.sh
parentf2c5b98649f20619a61dd43171023bd2b191ed7e (diff)
HylaFAX+: init at 5.6.0
Create the top-level packages attribute 'hylafaxplus' that builds HylaFAX+ . Note: The nobody uid and the nogroup gid are hardcoded in the package. The package build recipe file contains options to modify these ids.
Diffstat (limited to 'pkgs/servers/hylafaxplus/post-install-check.sh')
-rw-r--r--pkgs/servers/hylafaxplus/post-install-check.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/hylafaxplus/post-install-check.sh b/pkgs/servers/hylafaxplus/post-install-check.sh
new file mode 100644
index 000000000000..2850738edccc
--- /dev/null
+++ b/pkgs/servers/hylafaxplus/post-install-check.sh
@@ -0,0 +1,7 @@
+# check if the package contains all the files needed
+for x in faxq faxquit hfaxd faxcron faxqclean faxgetty
+do
+ test -x "$out/spool/bin/$x"
+done
+test -d "$out/spool/config"
+test -f "$out/spool/etc/setup.cache"