diff --git a/support/functions/_plugin_update_toolchain b/support/functions/_plugin_update_toolchain index accad0a..5199aea 100644 --- a/support/functions/_plugin_update_toolchain +++ b/support/functions/_plugin_update_toolchain @@ -3,7 +3,7 @@ #simplebuild_plugin tcupdate tcupdate(){ - pversion="0.14.1"; + pversion="0.14.2"; pname="s3.TUP"; pdesc="Plugin $pname v$pversion"; configname="$configdir/plugin_update_toolchain.config"; @@ -20,10 +20,10 @@ tcupdate(){ tc="$CMDTC"; #some migrations to upgrade older s3.TUP versions - [ -z "$4" ] && clear && _migrations; + [[ -z "$4" || "$FLAG" -gt "0" ]] && clear && _migrations; #check/install prerequisites - [ -z "$4" ] && _check_pkg; + [[ -z "$4" || "$FLAG" -gt "0" ]] && _check_pkg; #backup config if [ "$CMDTC" == "-r" ] || [ "$CMDTC" == "--reset" ];then diff --git a/support/functions/_toolchain b/support/functions/_toolchain index 8686cd3..473831a 100644 --- a/support/functions/_toolchain +++ b/support/functions/_toolchain @@ -16,7 +16,7 @@ _toolchain_build_menu(){ tcupdate "$_toolchainname" "" "" "2" _toolchain_build_menu;; BACKUP) - tcupdate "-b" "$_toolchainname" "" "" "1" + tcupdate "-b" "$_toolchainname" "" "1" _toolchain_build_menu;; EDIT_CONF_DIR) _gtedit