summaryrefslogtreecommitdiff
path: root/mail/nmh
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
commitc5f0321718c1b51acf6c873f20f874a333e41399 (patch)
treed334e2fd95050def4488e848ea48612e6f9103a4 /mail/nmh
parentffb634dba4f8cf98d9303350c69feff299423c86 (diff)
downloadpkgsrc-c5f0321718c1b51acf6c873f20f874a333e41399.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/nmh')
-rw-r--r--mail/nmh/DEINSTALL8
-rw-r--r--mail/nmh/INSTALL8
2 files changed, 2 insertions, 14 deletions
diff --git a/mail/nmh/DEINSTALL b/mail/nmh/DEINSTALL
index 8b5f02e260d..853408ede92 100644
--- a/mail/nmh/DEINSTALL
+++ b/mail/nmh/DEINSTALL
@@ -1,13 +1,11 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.1 2001/11/01 01:00:41 zuntum Exp $
+# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:22:57 jlam Exp $
PKGNAME=$1
STAGE=$2
case ${STAGE} in
-DEINSTALL)
- ;;
POST-DEINSTALL)
CONFDIR=${PKG_PREFIX}/etc/nmh
@@ -20,9 +18,5 @@ following directories:
===========================================================================
EOF
;;
-*)
- echo "Unexpected argument: ${STAGE}"
- exit 1
- ;;
esac
exit 0
diff --git a/mail/nmh/INSTALL b/mail/nmh/INSTALL
index b06d233899f..056826a07dc 100644
--- a/mail/nmh/INSTALL
+++ b/mail/nmh/INSTALL
@@ -1,14 +1,12 @@
#! /bin/sh
#
-# $NetBSD: INSTALL,v 1.2 2002/07/10 01:44:41 kim Exp $
+# $NetBSD: INSTALL,v 1.3 2003/08/30 20:22:57 jlam Exp $
#
PKGNAME=$1
STAGE=$2
case ${STAGE} in
-PRE-INSTALL)
- ;;
POST-INSTALL)
CONFDIR=${PKG_PREFIX}/etc/nmh
@@ -40,9 +38,5 @@ server if you are not running one locally.
=============================================================
EOF
;;
-*)
- echo "Unexpected argument: ${STAGE}"
- exit 1
- ;;
esac
exit 0