From 5d66c7cc39812d77a96f65c8d68d2a3fea2f423e Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 3 Apr 2018 19:31:02 -0500 Subject: post-functions.sh: Sort .new files list from looknew() Thanks to Eduard Rozenberg. --- files/post-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3