Don't execute /etc/postinstall if -b was used.
This commit is contained in:
parent
b615e15549
commit
a645b3b843
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: etcupdate,v 1.6 2002/09/27 18:20:52 grant Exp $
|
||||
# $NetBSD: etcupdate,v 1.7 2002/09/28 06:17:16 martti Exp $
|
||||
#
|
||||
# Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user