diff options
author | davidovski <david@davidovski.xyz> | 2022-06-06 18:39:20 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-06 18:39:20 +0100 |
commit | dd8004ccbf58b546f48205d2878d9101bbfcaadc (patch) | |
tree | 7864c5224a4728a37f858f3703e05286bb6a2687 /src/xi.sh | |
parent | a8c14970881292501f40c3cf1f5c36b71525fee0 (diff) |
fixed sort to be faster
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-x | src/xi.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -148,7 +148,7 @@ else shift checkroot - [ "$#" = "0" ] && set -- $(list_installed) + [ "$#" = "0" ] && set -- $(installed) toinstall=${CACHE_DIR}/toinstall @@ -233,7 +233,10 @@ else shift [ -z "$*" ] && set -- $(ls ${INSTALLED_DIR}) while [ ! -z "$*" ]; do - validate_files $1 || printf "${LIGHT_RED}Failed to verify $1\n" + validate_files $1 || { + ${QUIET} && printf "%s\n" $1 || printf "${LIGHT_RED}Failed to verify $1\n" + + } shift done ;; |