summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-09-28 06:18:35 +0000
committermartti <martti@pkgsrc.org>2002-09-28 06:18:35 +0000
commitbf27ec4cc0ad088d42812147a519dbf0fa606dad (patch)
treef5626d52d7d15cad56c3d93c43a6cb2e0da6c197
parent594c0805bc40a4cc85da37b53e82a141a8ef1947 (diff)
downloadpkgsrc-bf27ec4cc0ad088d42812147a519dbf0fa606dad.tar.gz
Updated etcupdate to 20020928
* Fix a typo (PR#18440) * Don't execute /etc/postinstall if -b was used
-rw-r--r--sysutils/etcupdate/Makefile4
-rwxr-xr-xsysutils/etcupdate/files/etcupdate6
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/etcupdate/Makefile b/sysutils/etcupdate/Makefile
index 81a0d46b94e..4028e4a0bd3 100644
--- a/sysutils/etcupdate/Makefile
+++ b/sysutils/etcupdate/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2002/07/31 06:54:24 martti Exp $
+# $NetBSD: Makefile,v 1.16 2002/09/28 06:18:35 martti Exp $
-DISTNAME= etcupdate-20020731
+DISTNAME= etcupdate-20020928
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
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