From 46b50b32e58edfb74c143fe5a50362629294f50b Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 1 Apr 2020 13:02:30 +0200 Subject: [PATCH] Show a link to mypads only if installed --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)