post-functions.sh: Respect $ROOT in looknew()

Thanks again to burdi01 on LQ.
This commit is contained in:
Robby Workman 2018-04-03 19:14:27 -05:00
parent caf6a1ab96
commit b55bfd9645

View file

@ -134,7 +134,7 @@ looknew() {
fi
echo -e "\nSearching for NEW configuration files"
FILES=$(find /etc /var/yp /usr/share/vim -name "*.new" ${ONLY_NEW_DOTNEW} \
FILES=$(find ${ROOT}/etc ${ROOT}/var/yp ${ROOT}/usr/share/vim -name "*.new" ${ONLY_NEW_DOTNEW} \
-not -name "rc.inet1.conf.new" \
-not -name "group.new" \
-not -name "passwd.new" \