Remove -U from mtree call used to restore files permissions, this is replacing symlink targets by the old values. Ticket #4328

This commit is contained in:
Renato Botelho 2015-03-11 17:46:54 -03:00
parent b33f69c4c0
commit 830ceadf02

View File

@ -66,7 +66,7 @@ backup_chflags() {
restore_chflags() {
TOPROCESS="bin lib libexec sbin usr"
for files in $TOPROCESS; do
cd / && /usr/bin/bzcat /tmp/chflags.dist.${files}.bz2 | /usr/sbin/mtree -PU -p /${files} >> /conf/upgrade_log.txt 2>&1
cd / && /usr/bin/bzcat /tmp/chflags.dist.${files}.bz2 | /usr/sbin/mtree -P -p /${files} >> /conf/upgrade_log.txt 2>&1
done
}