app name during upgrade

This commit is contained in:
Bob Mottram 2017-05-11 22:40:39 +01:00
parent 546cb11ba4
commit 3730e21fa9
1 changed files with 2 additions and 2 deletions

View File

@ -918,10 +918,10 @@ function upgrade_apps {
item_in_array "${app_name}" "${APPS_COMPLETED[@]}"
if [[ $? != 0 ]]; then
function_check app_is_installed
if [[ "$(app_is_installed $a)" == "1" ]]; then
if [[ "$(app_is_installed $app_name)" == "1" ]]; then
echo ''
echo ''
echo $"Upgrading $a"
echo $"Upgrading $app_name"
app_load_variables ${app_name}
APPS_COMPLETED+=("${app_name}")
function_check upgrade_${app_name}