mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 06:32:00 -03:30
fix update from pre-1.46 to post-1.46 not working in docker (#1406)
Signed-off-by: SoongJr <SoongJr@googlemail.com>
This commit is contained in:
parent
bcd850cc3f
commit
dd8fc3dd7d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user