about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/hylafaxplus/post-install-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/hylafaxplus/post-install-check.sh')
-rw-r--r--nixpkgs/pkgs/servers/hylafaxplus/post-install-check.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/hylafaxplus/post-install-check.sh b/nixpkgs/pkgs/servers/hylafaxplus/post-install-check.sh
new file mode 100644
index 000000000000..2850738edccc
--- /dev/null
+++ b/nixpkgs/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"