diff --git a/scripts/upgrade b/scripts/upgrade index 34c9859..b582c60 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -369,7 +369,7 @@ fi # SOME HACKS #================================================= -if [ "$upgrade_type" == "UPGRADE_APP" ] +if [ "$upgrade_type" == "UPGRADE_APP" ] && [ $mypads -eq 1 ] then # Find the /div just after the field to open a pad mod_line=$(grep -nA5 "index.createOpenPad" $final_path/src/templates/index.html | grep "" | cut -d '-' -f 1)