diff options
author | SoongJr <2505402+SoongJr@users.noreply.github.com> | 2022-01-11 00:25:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 00:25:15 +0300 |
commit | dd8fc3dd7d663faf5d916039ee042ef049aaf728 (patch) | |
tree | ddc904e19878c033ad8015f395f348862a1736fd | |
parent | bcd850cc3fa704b4240750f41551408006d8f9cb (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.sh | 8 |
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 |