post-functions.sh: Sort .new files list from looknew()

Thanks to Eduard Rozenberg.
This commit is contained in:
Robby Workman 2018-04-03 19:31:02 -05:00
parent 2cb98319cb
commit 5d66c7cc39

View file

@ -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.