Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/usr.sbin/postinstall Pull up following revision(s) (reque...
details: https://anonhg.NetBSD.org/src/rev/a9226eea174b
branches: netbsd-6
changeset: 773813:a9226eea174b
user: riz <riz%NetBSD.org@localhost>
date: Fri Feb 24 06:12:57 2012 +0000
description:
Pull up following revision(s) (requested by nakayama in ticket #44):
usr.sbin/postinstall/postinstall: revision 1.133
Fix a call to pwd_mkdb in the case that DEST_DIR is the empty string.
diffstat:
usr.sbin/postinstall/postinstall | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 7e8ff96ae9ce -r a9226eea174b usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Thu Feb 23 21:20:39 2012 +0000
+++ b/usr.sbin/postinstall/postinstall Fri Feb 24 06:12:57 2012 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.129.2.3 2012/02/23 18:24:18 riz Exp $
+# $NetBSD: postinstall,v 1.129.2.4 2012/02/24 06:12:57 riz Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1135,7 +1135,7 @@
if [ "${op}" = "check" ]; then
msg "Update format of passwd database"
failed=1
- elif ! ${PWD_MKDB} -V 1 -d ${DEST_DIR} ${DEST_DIR}/etc/master.passwd; then
+ elif ! ${PWD_MKDB} -V 1 -d ${DEST_DIR:-/} ${DEST_DIR}/etc/master.passwd; then
msg "Can't update format of passwd database"
failed=1
else
Home |
Main Index |
Thread Index |
Old Index