summaryrefslogtreecommitdiff
path: root/sysutils/etcupdate/files/etcupdate
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/etcupdate/files/etcupdate')
-rwxr-xr-xsysutils/etcupdate/files/etcupdate6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/etcupdate/files/etcupdate b/sysutils/etcupdate/files/etcupdate
index eecbb966853..8a68bd611ca 100755
--- a/sysutils/etcupdate/files/etcupdate
+++ b/sysutils/etcupdate/files/etcupdate
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: etcupdate,v 1.16 2002/07/31 06:54:26 martti Exp $
+# $NetBSD: etcupdate,v 1.17 2002/09/28 06:18:35 martti Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -60,7 +60,7 @@ VERBOSE=
CONTINUE=
BINARY=
-# Settings for post-installlation procedures
+# Settings for post-installation procedures
NEED_MTREE=
NEED_MAKEDEV=
NEED_NEWALIASES=
@@ -468,7 +468,7 @@ if [ ! -z "${NEED_PWD_MKDB}" ]; then
echo ""
fi
fi
-if [ -x /etc/postinstall ]; then
+if [ -x /etc/postinstall -a -z "${BINARY}" ]; then
S=`echo ${SRCDIR} | sed 's+/etc++'`
echo "*** Running /etc/postinstall"
/etc/postinstall -s "${S}" check