Increment when continuing
This commit is contained in:
parent
3adf736179
commit
8d0af3659d
|
@ -74,9 +74,11 @@ function android_update_apps {
|
||||||
MOBILE_APP_URL=
|
MOBILE_APP_URL=
|
||||||
|
|
||||||
if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
|
if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
|
||||||
|
app_index=$((app_index+1))
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
|
if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
|
||||||
|
app_index=$((app_index+1))
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
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}')"
|
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}')"
|
||||||
|
|
Loading…
Reference in New Issue