mirror of
https://github.com/limosek/zaf.git
synced 2024-11-22 02:19:06 +01:00
Cosmetic changes
This commit is contained in:
parent
a724c6f5b3
commit
bffda469c8
@ -206,7 +206,6 @@ zaf_install_plugin() {
|
|||||||
control=${ZAF_TMP_DIR}/${plugin}/control
|
control=${ZAF_TMP_DIR}/${plugin}/control
|
||||||
mkdir -p "${ZAF_TMP_DIR}/${plugin}"
|
mkdir -p "${ZAF_TMP_DIR}/${plugin}"
|
||||||
if zaf_plugin_fetch_control "$url" "${control}"; then
|
if zaf_plugin_fetch_control "$url" "${control}"; then
|
||||||
set -e
|
|
||||||
plugin=$(zaf_ctrl_get_option "${control}" Plugin)
|
plugin=$(zaf_ctrl_get_option "${control}" Plugin)
|
||||||
if [ -n "$plugin" ]; then
|
if [ -n "$plugin" ]; then
|
||||||
echo Installing plugin $plugin from $url...
|
echo Installing plugin $plugin from $url...
|
||||||
@ -276,11 +275,10 @@ zaf_show_plugin() {
|
|||||||
echo " Homepage:" $(zaf_ctrl_get_option $cfile Web)
|
echo " Homepage:" $(zaf_ctrl_get_option $cfile Web)
|
||||||
echo " Maintainer:" $(zaf_ctrl_get_option $cfile Maintainer)
|
echo " Maintainer:" $(zaf_ctrl_get_option $cfile Maintainer)
|
||||||
items=$(zaf_list_plugin_items $1)
|
items=$(zaf_list_plugin_items $1)
|
||||||
echo
|
|
||||||
echo " Supported items:"
|
echo " Supported items:"
|
||||||
for i in $items; do
|
for i in $items; do
|
||||||
if [ -n "$tst" ]; then
|
if [ -n "$tst" ]; then
|
||||||
${ZAF_AGENT_BIN} -t "$1.$i"
|
echo -n " "; ${ZAF_AGENT_BIN} -t "$1.$i"
|
||||||
else
|
else
|
||||||
echo -n " $1.$i: "
|
echo -n " $1.$i: "
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user