Browse Source

Increment when continuing

Bob Mottram 6 years ago
parent
commit
8d0af3659d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-utils-android

+ 2
- 0
src/freedombone-utils-android View File

@@ -74,9 +74,11 @@ function android_update_apps {
74 74
                 MOBILE_APP_URL=
75 75
 
76 76
                 if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
77
+                    app_index=$((app_index+1))
77 78
                     continue
78 79
                 fi
79 80
                 if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
81
+                    app_index=$((app_index+1))
80 82
                     continue
81 83
                 fi
82 84
                 SHORT_DESCRIPTION="$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | sed 's|\$||g' | sed "s|'||g" | sed 's|\"||g' | awk -F '=' '{print $2}')"