diff --git a/usr.sbin/postinstall/postinstall b/usr.sbin/postinstall/postinstall index 51748f00c2aa..efe7ea226270 100755 --- a/usr.sbin/postinstall/postinstall +++ b/usr.sbin/postinstall/postinstall @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: postinstall,v 1.72 2008/10/17 20:52:34 christos Exp $ +# $NetBSD: postinstall,v 1.73 2008/10/17 21:14:40 christos Exp $ # # Copyright (c) 2002-2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -1413,9 +1413,9 @@ 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/mtree/set.etc" ]; then -# err 2 "Files from the etc.tgz set are missing" -# fi + if ! $SOURCEMODE && ! [ -f "${SRC_DIR}/etc/master.passwd" ]; then + err 2 "Files from the etc.tgz set are missing" + fi # If directories are /, clear them, so various messages # don't have leading "//". However, this requires