summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2018-04-03 19:14:27 -0500
committerRobby Workman <rworkman@slackware.com>2018-04-03 19:14:27 -0500
commitb55bfd964584a255d74932e7c6c0e8482ba63620 (patch)
treea6a91a17a5143d777be821364cfb8741f2142f58
parentcaf6a1ab9635b01908dffdfd4e55d52d186be447 (diff)
downloadslackpkg-b55bfd964584a255d74932e7c6c0e8482ba63620.tar.xz
post-functions.sh: Respect $ROOT in looknew()
Thanks again to burdi01 on LQ.
-rw-r--r--files/post-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/post-functions.sh b/files/post-functions.sh
index e4f456f..2eba4d2 100644
--- a/files/post-functions.sh
+++ b/files/post-functions.sh
@@ -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" \