Handle commented out variables
This commit is contained in:
parent
d99d46acd5
commit
26c6a36b72
|
@ -59,6 +59,9 @@ function android_update_apps {
|
|||
if ! grep -q "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
|
||||
continue
|
||||
fi
|
||||
if grep -q "#${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename"; then
|
||||
continue
|
||||
fi
|
||||
# shellcheck disable=SC2140
|
||||
"${app_name_upper}_SHORT_DESCRIPTION"="$(grep "${app_name_upper}_SHORT_DESCRIPTION=" "$app_filename" | head -n 1 | awk -F '=' '{print $2}')"
|
||||
|
||||
|
|
Loading…
Reference in New Issue