mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
actually make the inversion of installing apks work
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b43e8e56a2
commit
8cf535e187
1 changed files with 5 additions and 3 deletions
|
|
@ -60,9 +60,11 @@ if [ -n "$ADDITIONAL_APKS" ]; then
|
||||||
fi
|
fi
|
||||||
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
|
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
|
||||||
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
|
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
|
||||||
echo "Installing $app via apk..."
|
if [ "$app" != imagemagick ]; then
|
||||||
if ! apk add --no-cache "$app" >/dev/null; then
|
echo "Installing $app via apk..."
|
||||||
echo "The packet $app was not installed!"
|
if ! apk add --no-cache "$app" >/dev/null; then
|
||||||
|
echo "The packet $app was not installed!"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue