From 8cf535e187c1811e8f80fcef9bb424edb5c04075 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 17 Jan 2024 13:25:31 +0100 Subject: [PATCH] actually make the inversion of installing apks work Signed-off-by: Simon L --- Containers/nextcloud/start.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Containers/nextcloud/start.sh b/Containers/nextcloud/start.sh index a9137847..e9e0cbc1 100644 --- a/Containers/nextcloud/start.sh +++ b/Containers/nextcloud/start.sh @@ -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