summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xi.sh b/src/xi.sh
index 8dd848c..000eba5 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -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
;;