mirror of
https://github.com/limosek/zaf.git
synced 2024-11-23 10:59:06 +01:00
Repaired warning durilg reinstall
This commit is contained in:
parent
c1f5eddb5d
commit
56763de3fc
5
zaf
5
zaf
@ -239,13 +239,12 @@ reinstall)
|
|||||||
[ -z "$1" ] && echo "$0 reinstall plugin [plugin]..."
|
[ -z "$1" ] && echo "$0 reinstall plugin [plugin]..."
|
||||||
for p in $@; do
|
for p in $@; do
|
||||||
if zaf_is_plugin "$p"; then
|
if zaf_is_plugin "$p"; then
|
||||||
params=$(zaf_get_plugin_parameters)
|
params=$(zaf_get_plugin_parameters $p)
|
||||||
zaf_wrn $params
|
|
||||||
for param in $params; do
|
for param in $params; do
|
||||||
eval export ZAF_${p}_${param}=$(zaf_get_plugin_parameter "${ZAF_PLUGINS_DIR}/${p}" $param)
|
eval export ZAF_${p}_${param}=$(zaf_get_plugin_parameter "${ZAF_PLUGINS_DIR}/${p}" $param)
|
||||||
zaf_dbg "Saving ZAF_${p}_${param}"
|
zaf_dbg "Saving ZAF_${p}_${param}"
|
||||||
done
|
done
|
||||||
zaf_remove_plugin "$(basename $p)"
|
zaf_remove_plugin "$p"
|
||||||
reinstalled=1
|
reinstalled=1
|
||||||
fi
|
fi
|
||||||
zaf_install_plugin "$p"
|
zaf_install_plugin "$p"
|
||||||
|
Loading…
Reference in New Issue
Block a user