revert previous; now 'postinstall fix' does not work anymore without having
sets.
This commit is contained in:
parent
3e0c867bca
commit
3e1e171f06
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue