Remove condition
This commit is contained in:
parent
a0d4f75633
commit
3adf736179
|
@ -48,12 +48,12 @@ function android_update_apps {
|
|||
|
||||
android_ctr=0
|
||||
app_index=0
|
||||
# shellcheck disable=SC2068
|
||||
# shellcheck disable=SC2068,SC2034
|
||||
for a in ${APPS_INSTALLED[@]}
|
||||
do
|
||||
echo "Starting app ${APPS_INSTALLED_NAMES[$app_index]}" >> /var/log/androidapp.log
|
||||
if [[ "$a" == "1" ]]; then
|
||||
app_name=${APPS_INSTALLED_NAMES[$app_index]}
|
||||
app_name=${APPS_INSTALLED_NAMES[$app_index]}
|
||||
if [ "$app_name" ]; then
|
||||
echo "Starting app ${APPS_INSTALLED_NAMES[$app_index]}" >> /var/log/androidapp.log
|
||||
echo "App installed $app_name" >> /var/log/androidapp.log
|
||||
app_filename="/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${app_name}"
|
||||
if [ -f "$app_filename" ]; then
|
||||
|
|
Loading…
Reference in New Issue