Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/etcupdate Run /etc/postinstall if it's found
details: https://anonhg.NetBSD.org/src/rev/d372866d0ca2
branches: trunk
changeset: 526897:d372866d0ca2
user: martti <martti%NetBSD.org@localhost>
date: Mon May 13 12:43:16 2002 +0000
description:
Run /etc/postinstall if it's found
diffstat:
usr.sbin/etcupdate/etcupdate | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r b90ca37745ea -r d372866d0ca2 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate Mon May 13 12:10:04 2002 +0000
+++ b/usr.sbin/etcupdate/etcupdate Mon May 13 12:43:16 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: etcupdate,v 1.1 2002/03/22 10:10:57 martti Exp $
+# $NetBSD: etcupdate,v 1.2 2002/05/13 12:43:16 martti Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -468,4 +468,9 @@
echo ""
fi
fi
+if [ -x /etc/postinstall ]; then
+ S=`echo ${SRCDIR} | sed 's+/etc++'`
+ echo "*** Running /etc/postinstall"
+ /etc/postinstall -s "${S}" check
+fi
echo "*** All done"
Home |
Main Index |
Thread Index |
Old Index