summaryrefslogtreecommitdiffstats
path: root/mail/solidpop3d/pkg-req
diff options
context:
space:
mode:
Diffstat (limited to 'mail/solidpop3d/pkg-req')
-rw-r--r--mail/solidpop3d/pkg-req13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/solidpop3d/pkg-req b/mail/solidpop3d/pkg-req
new file mode 100644
index 0000000..01bcc63
--- /dev/null
+++ b/mail/solidpop3d/pkg-req
@@ -0,0 +1,13 @@
+if [ "$2" != "INSTALL" ]; then
+ exit 0
+fi
+if ! id -u pop > /dev/null 2>&1; then
+ echo "You need an account \"pop\" to install this package."
+ echo "Please add it by hand (try \"man vipw\") and try again."
+ echo ""
+ echo "An example passwd entry is:"
+ echo "pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent"
+ echo ""
+ exit 1
+fi
+exit 0
OpenPOWER on IntegriCloud