Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.sbin/etcupdate Pull up revision 1.7 (requested by m...
details: https://anonhg.NetBSD.org/src/rev/cd1f0145c9b3
branches: netbsd-1-6
changeset: 529159:cd1f0145c9b3
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Oct 13 23:31:01 2002 +0000
description:
Pull up revision 1.7 (requested by martti in ticket #871):
Don't execute /etc/postinstall if -b was used.
diffstat:
usr.sbin/etcupdate/etcupdate | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r e673a73fc7f8 -r cd1f0145c9b3 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate Sun Oct 13 23:29:51 2002 +0000
+++ b/usr.sbin/etcupdate/etcupdate Sun Oct 13 23:31:01 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: etcupdate,v 1.3.2.2 2002/10/13 23:29:51 lukem Exp $
+# $NetBSD: etcupdate,v 1.3.2.3 2002/10/13 23:31:01 lukem Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -468,7 +468,7 @@
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
Home |
Main Index |
Thread Index |
Old Index