1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-14 06:29:07 +01:00

Cosmetic changes

This commit is contained in:
Lukas Macura 2016-03-24 20:47:24 +01:00
parent a724c6f5b3
commit bffda469c8

View File

@ -206,7 +206,6 @@ zaf_install_plugin() {
control=${ZAF_TMP_DIR}/${plugin}/control
mkdir -p "${ZAF_TMP_DIR}/${plugin}"
if zaf_plugin_fetch_control "$url" "${control}"; then
set -e
plugin=$(zaf_ctrl_get_option "${control}" Plugin)
if [ -n "$plugin" ]; then
echo Installing plugin $plugin from $url...
@ -276,11 +275,10 @@ zaf_show_plugin() {
echo " Homepage:" $(zaf_ctrl_get_option $cfile Web)
echo " Maintainer:" $(zaf_ctrl_get_option $cfile Maintainer)
items=$(zaf_list_plugin_items $1)
echo
echo " Supported items:"
for i in $items; do
if [ -n "$tst" ]; then
${ZAF_AGENT_BIN} -t "$1.$i"
echo -n " "; ${ZAF_AGENT_BIN} -t "$1.$i"
else
echo -n " $1.$i: "
fi