load app variables before upgrade

This commit is contained in:
Bob Mottram 2016-10-11 13:10:59 +01:00
parent de13d76d65
commit f1ba82984a
1 changed files with 1 additions and 0 deletions

View File

@ -494,6 +494,7 @@ function upgrade_apps {
if [[ $? != 0 ]]; then
function_check app_is_installed
if [[ "$(app_is_installed $a)" == "1" ]]; then
app_load_variables ${app_name}
APPS_COMPLETED+=("${app_name}")
function_check upgrade_${app_name}
upgrade_${app_name}