diff options
author | Robby Workman <rworkman@slackware.com> | 2018-04-03 19:14:27 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-04-03 19:14:27 -0500 |
commit | b55bfd964584a255d74932e7c6c0e8482ba63620 (patch) | |
tree | a6a91a17a5143d777be821364cfb8741f2142f58 | |
parent | caf6a1ab9635b01908dffdfd4e55d52d186be447 (diff) | |
download | slackpkg-b55bfd964584a255d74932e7c6c0e8482ba63620.tar.xz |
post-functions.sh: Respect $ROOT in looknew()
Thanks again to burdi01 on LQ.
-rw-r--r-- | files/post-functions.sh | 2 |
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" \ |