summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2018-04-03 19:31:02 -0500
committerRobby Workman <rworkman@slackware.com>2018-04-03 19:31:02 -0500
commit5d66c7cc39812d77a96f65c8d68d2a3fea2f423e (patch)
tree0c375b05a1cfe22fdc92a9c7d166206e5ea5c63b
parent2cb98319cbf664c662b56493d65bcf3b98952d9d (diff)
downloadslackpkg-5d66c7cc39812d77a96f65c8d68d2a3fea2f423e.tar.xz
post-functions.sh: Sort .new files list from looknew()
Thanks to Eduard Rozenberg.
-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 64bc005..1d9f1ee 100644
--- a/files/post-functions.sh
+++ b/files/post-functions.sh
@@ -139,7 +139,7 @@ looknew() {
-not -name "group.new" \
-not -name "passwd.new" \
-not -name "shadow.new" \
- -not -name "gshadow.new" 2>/dev/null)
+ -not -name "gshadow.new" 2>/dev/null | sort 2>/dev/null)
if [ "$FILES" != "" ]; then
echo -e "\n\
Some packages had new configuration files installed.