mirror of
https://github.com/limosek/zaf.git
synced 2024-11-24 03:19:05 +01:00
Minor changes to install
This commit is contained in:
parent
f0988cf5ee
commit
6a868ae3f1
@ -12,7 +12,7 @@ if ! [ "$(basename $0)" = "install.sh" ]; then
|
|||||||
set -e
|
set -e
|
||||||
mkdir -p /tmp/zaf-installer \
|
mkdir -p /tmp/zaf-installer \
|
||||||
&& cd /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 \
|
&& chmod +x install.sh \
|
||||||
&& exec ./install.sh $auto "$@"
|
&& exec ./install.sh $auto "$@"
|
||||||
exit
|
exit
|
||||||
|
6
zaf
6
zaf
@ -68,6 +68,10 @@ items)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
test)
|
test)
|
||||||
|
if echo $2|grep -q '\.'; then
|
||||||
|
zaf_test_item "$2"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
if [ -n "$2" ]; then
|
if [ -n "$2" ]; then
|
||||||
shift
|
shift
|
||||||
plugins="$@"
|
plugins="$@"
|
||||||
@ -151,7 +155,7 @@ self-remove)
|
|||||||
echo "$0 plugins To list installed plugins"
|
echo "$0 plugins To list installed plugins"
|
||||||
echo "$0 show [plugin] To show installed plugins or plugin info"
|
echo "$0 show [plugin] To show installed plugins or plugin info"
|
||||||
echo "$0 items [plugin] To list all suported items [for plugin]"
|
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 install plugin To install plugin"
|
||||||
echo "$0 remove plugin To remove plugin"
|
echo "$0 remove plugin To remove plugin"
|
||||||
echo "$0 self-upgrade To self-upgrade zaf"
|
echo "$0 self-upgrade To self-upgrade zaf"
|
||||||
|
Loading…
Reference in New Issue
Block a user