From fd88b6188253a89b8b0e90e2ce438530a4c764c3 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 5 Nov 2022 01:40:05 +0100 Subject: [PATCH] do not delete the updater so that it can get used later on Signed-off-by: Simon L --- Containers/nextcloud/Dockerfile | 1 - Containers/nextcloud/entrypoint.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index 5bd0a4b1..4b165fd7 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -126,7 +126,6 @@ RUN set -ex; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ gpgconf --kill all; \ rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -rf "$GNUPGHOME" /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ chmod +x /usr/src/nextcloud/occ; \ diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 3f7af70e..273301cc 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -99,7 +99,6 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then tar -xjf nextcloud.tar.bz2 -C /usr/src/tmp/ gpgconf --kill all rm nextcloud.tar.bz2.asc nextcloud.tar.bz2 - rm -rf "$GNUPGHOME" /usr/src/tmp/nextcloud/updater mkdir -p /usr/src/tmp/nextcloud/data mkdir -p /usr/src/tmp/nextcloud/custom_apps chmod +x /usr/src/tmp/nextcloud/occ