Page MenuHomeFreeBSD

D18827.diff
No OneTemporary

D18827.diff

Index: head/usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- head/usr.sbin/freebsd-update/freebsd-update.sh
+++ head/usr.sbin/freebsd-update/freebsd-update.sh
@@ -2918,10 +2918,11 @@
install_from_index INDEX-NEW || return 1
install_delete INDEX-OLD INDEX-NEW || return 1
- # Rebuild /etc/spwd.db and /etc/pwd.db if necessary.
+ # Rebuild generated pwd files.
if [ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/spwd.db ] ||
- [ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/pwd.db ]; then
- pwd_mkdb -d ${BASEDIR}/etc ${BASEDIR}/etc/master.passwd
+ [ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/pwd.db ] ||
+ [ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/passwd ]; then
+ pwd_mkdb -d ${BASEDIR}/etc -p ${BASEDIR}/etc/master.passwd
fi
# Rebuild /etc/login.conf.db if necessary.

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 1:16 PM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15794306
Default Alt Text
D18827.diff (893 B)

Event Timeline