From 7d7ffd761724c1d0f1b1e018d9b1df218420fb60 Mon Sep 17 00:00:00 2001 From: sev Date: Fri, 2 Jul 2021 13:40:52 -0500 Subject: [PATCH] apkv: sort apk info --- bin/apkv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/apkv b/bin/apkv index 012d8e2..7ae7051 100755 --- a/bin/apkv +++ b/bin/apkv @@ -84,7 +84,7 @@ if [ "$method" = list ]; then # ignore getopt's --, we don't care if an arg begins with - anyway [ "$1" = '--' ] && switch >/dev/null - all=$(apk info) + all=$(apk info | sort) # show packages if no args if [ $# -eq 0 ]; then for x in $(echo "$all" | grep '^\.'); do -- 2.47.0