summaryrefslogtreecommitdiff
path: root/sysutils/etcupdate
diff options
context:
space:
mode:
authormartti <martti>2002-05-13 12:38:48 +0000
committermartti <martti>2002-05-13 12:38:48 +0000
commit2fb3ac144b754d7be5a5b4edcd02dfa5c8215ecf (patch)
tree01ee6935626f0a06184cafae797cf73f186a64db /sysutils/etcupdate
parentff4d5fa4cee685434dfaeef6e189411698647c9b (diff)
downloadpkgsrc-2fb3ac144b754d7be5a5b4edcd02dfa5c8215ecf.tar.gz
Updated etcupdate to 20020513
* Run /etc/postinstall if it's found
Diffstat (limited to 'sysutils/etcupdate')
-rw-r--r--sysutils/etcupdate/Makefile4
-rwxr-xr-xsysutils/etcupdate/files/etcupdate7
2 files changed, 8 insertions, 3 deletions
diff --git a/sysutils/etcupdate/Makefile b/sysutils/etcupdate/Makefile
index eb692dcfb19..717a8cee18d 100644
--- a/sysutils/etcupdate/Makefile
+++ b/sysutils/etcupdate/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2002/03/21 12:01:30 martti Exp $
+# $NetBSD: Makefile,v 1.13 2002/05/13 12:38:48 martti Exp $
-DISTNAME= etcupdate-20020321
+DISTNAME= etcupdate-20020513
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/sysutils/etcupdate/files/etcupdate b/sysutils/etcupdate/files/etcupdate
index 7c0a3b3f296..0d9fc00b9ec 100755
--- a/sysutils/etcupdate/files/etcupdate
+++ b/sysutils/etcupdate/files/etcupdate
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: etcupdate,v 1.12 2002/03/21 12:01:31 martti Exp $
+# $NetBSD: etcupdate,v 1.13 2002/05/13 12:38:49 martti Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -468,4 +468,9 @@ if [ ! -z "${NEED_PWD_MKDB}" ]; then
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"