Skip to content

Commit

Permalink
actually make the inversion of installing apks work
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Jan 17, 2024
1 parent b43e8e5 commit 8cf535e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Containers/nextcloud/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ if [ -n "$ADDITIONAL_APKS" ]; then
fi
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
echo "Installing $app via apk..."
if ! apk add --no-cache "$app" >/dev/null; then
echo "The packet $app was not installed!"
if [ "$app" != imagemagick ]; then
echo "Installing $app via apk..."
if ! apk add --no-cache "$app" >/dev/null; then
echo "The packet $app was not installed!"
fi
fi
done
fi
Expand Down

0 comments on commit 8cf535e

Please sign in to comment.