mirror of
https://github.com/limosek/zaf.git
synced 2024-11-23 19:09:08 +01:00
Added upgrade command
This commit is contained in:
parent
26b58a61d5
commit
3db7c1d5fc
9
zaf
9
zaf
@ -69,7 +69,11 @@ update)
|
||||
zaf_wrn "Updating repository ${ZAF_REPO_GITURL}..."
|
||||
zaf_update_repo
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
zaf_list_plugins | while read plugin; do
|
||||
ZAF_DEBUG=$ZAF_DEBUG $0 reinstall $plugin || zaf_err "Error upgrading $plugin"
|
||||
done
|
||||
;;
|
||||
show)
|
||||
shift;
|
||||
shift $(zaf_shift "$@")
|
||||
@ -221,7 +225,8 @@ self-remove)
|
||||
echo "$0 Version ${ZAF_VERSION}. Please use some of this commands:"
|
||||
echo "$0 Cmd [ZAF_OPTION=value] ..."
|
||||
echo "Commands:"
|
||||
echo "$0 update To update repo"
|
||||
echo "$0 update To update repo (not plugins, similar to apt-get update)"
|
||||
echo "$0 upgrade To upgrade installed plugins from repo"
|
||||
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]"
|
||||
|
Loading…
Reference in New Issue
Block a user