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:
authorSoongJr <2505402+SoongJr@users.noreply.github.com>2022-01-11 00:25:15 +0300
committerGitHub <noreply@github.com>2022-01-11 00:25:15 +0300
commitdd8fc3dd7d663faf5d916039ee042ef049aaf728 (patch)
treeddc904e19878c033ad8015f395f348862a1736fd
parentbcd850cc3fa704b4240750f41551408006d8f9cb (diff)
fix update from pre-1.46 to post-1.46 not working in docker (#1406)v1.44.8
Signed-off-by: SoongJr <SoongJr@googlemail.com>
-rw-r--r--updates/1.46.0.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/updates/1.46.0.sh b/updates/1.46.0.sh
index 37b91990..c18c2dd5 100644
--- a/updates/1.46.0.sh
+++ b/updates/1.46.0.sh
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+set -e
# docker images only
[[ -f /.docker-image ]] && {
@@ -8,7 +11,7 @@ ncc notify_push:self-test || {
killall notify_push
sleep 1
start_notify_push
-}"
+}
EOF
chmod +x /etc/cron.daily/refresh_notify_push
}
@@ -41,3 +44,6 @@ EOF
systemctl enable refresh_notify_push.{path,service}
systemctl restart refresh_notify_push.path
}
+
+
+exit 0