summaryrefslogtreecommitdiff
path: root/mail/fastforward
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
committerjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
commit2920a32c71bae3a6a02b2c5c0576d9a60b9a0594 (patch)
treed334e2fd95050def4488e848ea48612e6f9103a4 /mail/fastforward
parent2ebf5a7dc8b33d5f29466890b65a69e886f19281 (diff)
downloadpkgsrc-2920a32c71bae3a6a02b2c5c0576d9a60b9a0594.tar.gz
Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
Diffstat (limited to 'mail/fastforward')
-rw-r--r--mail/fastforward/DEINSTALL28
1 files changed, 16 insertions, 12 deletions
diff --git a/mail/fastforward/DEINSTALL b/mail/fastforward/DEINSTALL
index 9687cba2a0f..766a8e0c449 100644
--- a/mail/fastforward/DEINSTALL
+++ b/mail/fastforward/DEINSTALL
@@ -1,17 +1,21 @@
-# $NetBSD: DEINSTALL,v 1.1 2001/11/01 01:00:03 zuntum Exp $
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:22:56 jlam Exp $
PKGNAME=$1
STAGE=$2
-if [ "$STAGE" != "POST-DEINSTALL" ]; then
- exit 0
-fi
+case ${STAGE} in
+POST-DEINSTALL)
+ cat << EOF
+===========================================================================
-echo ===========================================================================
-echo
-echo Please check the contents of /etc/mailer.conf and make sure there
-echo is an appropriate value defined for newaliases.
-echo
-echo "See mailer.conf(5) and mailwrapper(8) for details."
-echo
-echo ===========================================================================
+Please check the contents of /etc/mailer.conf and make sure there
+is an appropriate value defined for newaliases.
+
+"See mailer.conf(5) and mailwrapper(8) for details."
+
+===========================================================================
+EOF
+ ;;
+esac