Sfoglia il codice sorgente

Handle commented out variables

Bob Mottram 6 anni fa
parent
commit
26c6a36b72
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      src/freedombone-utils-android

+ 3
- 0
src/freedombone-utils-android Vedi File

@@ -59,6 +59,9 @@ function android_update_apps {
59 59
                 if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
60 60
                     continue
61 61
                 fi
62
+                if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
63
+                    continue
64
+                fi
62 65
                 # shellcheck disable=SC2140
63 66
                 "${app_name_upper}_SHORT_DESCRIPTION"="$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | awk -F '=' '{print $2}')"
64 67