Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-09-25 02:47:02 +0300
committernachoparker <nacho@ownyourbits.com>2018-09-25 02:47:06 +0300
commitcdbb750e716824cc9af11bab33e7cfd5b400416f (patch)
treebff95c55c3180ce7d95729838fe1b4bed0e9036d /bin/ncp-update-nc
parent1150ed8bfeb2d57bcb0a0c0c5623b9cdac787155 (diff)
docker: disable auto-upgrade until it is adapted to containersv0.60.7
Diffstat (limited to 'bin/ncp-update-nc')
-rwxr-xr-xbin/ncp-update-nc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc
index 79a9eb8a..dc4d759c 100755
--- a/bin/ncp-update-nc
+++ b/bin/ncp-update-nc
@@ -23,6 +23,8 @@ VER="$1"
# pre-checks
####################
+[[ -f /.docker-image ]] && { echo "This feature is still not available for docker containers"; exit 1; }
+
cd /var/www/
DATADIR="$( grep datadirectory nextcloud/config/config.php | awk '{ print $3 }' | grep -oP "[^']*[^']" | head -1 )"
[[ -d /var/www/nextcloud-old ]] && { echo "Nextcloud backup directory found. Interrupted installation?"; exit 1; }