From 6a868ae3f17aca5ff163da9ba76a90b748fe1c37 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Mon, 4 Apr 2016 14:49:38 +0200 Subject: [PATCH] Minor changes to install --- install.sh | 2 +- zaf | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8ebced0..28c087c 100755 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ if ! [ "$(basename $0)" = "install.sh" ]; then set -e mkdir -p /tmp/zaf-installer \ && cd /tmp/zaf-installer \ - && (for i in lib/zaf.lib.sh lib/os.lib.sh lib/ctrl.lib.sh install.sh ; do curl -f -k -s -L -o - "$url/$i"; done) >install.sh \ + && (for i in lib/zaf.lib.sh lib/os.lib.sh lib/ctrl.lib.sh install.sh ; do echo curl -f -k -s -L -o - "$url/$i" >&2; curl -f -k -s -L -o - "$url/$i"; done) >install.sh \ && chmod +x install.sh \ && exec ./install.sh $auto "$@" exit diff --git a/zaf b/zaf index 5b41af8..d4f78a4 100755 --- a/zaf +++ b/zaf @@ -68,6 +68,10 @@ items) ;; test) + if echo $2|grep -q '\.'; then + zaf_test_item "$2" + exit + fi if [ -n "$2" ]; then shift plugins="$@" @@ -151,7 +155,7 @@ self-remove) echo "$0 plugins To list installed plugins" echo "$0 show [plugin] To show installed plugins or plugin info" echo "$0 items [plugin] To list all suported items [for plugin]" - echo "$0 test [plugin] To test all suported items [for plugin]" + echo "$0 test [plugin[.item]] To test all suported items [for plugin]" echo "$0 install plugin To install plugin" echo "$0 remove plugin To remove plugin" echo "$0 self-upgrade To self-upgrade zaf"