revert previous; now 'postinstall fix' does not work anymore without having

sets.
This commit is contained in:
christos 2008-10-17 21:20:30 +00:00
parent 3e0c867bca
commit 3e1e171f06
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: postinstall,v 1.73 2008/10/17 21:14:40 christos Exp $
# $NetBSD: postinstall,v 1.74 2008/10/17 21:20:30 christos Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@ -1413,7 +1413,7 @@ EOF
[ -d "${DEST_DIR}" ] || err 2 "${DEST_DIR} is not a directory"
[ -n "${MACHINE}" ] || err 2 "\${MACHINE} is not defined"
[ -n "${MACHINE_ARCH}" ] || err 2 "\${MACHINE_ARCH} is not defined"
if ! $SOURCEMODE && ! [ -f "${SRC_DIR}/etc/master.passwd" ]; then
if ! $SOURCEMODE && ! [ -f "${SRC_DIR}/etc/mtree/set.etc" ]; then
err 2 "Files from the etc.tgz set are missing"
fi