Minor changes to install

1.0
Lukas Macura 2016-04-04 14:49:38 +02:00
parent f0988cf5ee
commit 6a868ae3f1
2 changed files with 6 additions and 2 deletions

View File

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

6
zaf
View File

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