Pārlūkot izejas kodu

Increment when continuing

Bob Mottram 6 gadus atpakaļ
vecāks
revīzija
8d0af3659d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/freedombone-utils-android

+ 2
- 0
src/freedombone-utils-android Parādīt failu

@@ -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}')"