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>2019-07-20 01:53:15 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-20 19:46:33 +0300
commit5bc9057377ac829c71c1e9622734e79f3dfff7f3 (patch)
tree8a9069bb062dc49b0728474938158d9548daf64d /bin/ncp-dist-upgrade
parent03713d6b0b90d427cd6751fd5e9f806e59b59708 (diff)
update: remove dist upgrade notification after upgrade
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp-dist-upgrade')
-rwxr-xr-xbin/ncp-dist-upgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ncp-dist-upgrade b/bin/ncp-dist-upgrade
index 47b8e10f..ce522ec6 100755
--- a/bin/ncp-dist-upgrade
+++ b/bin/ncp-dist-upgrade
@@ -115,5 +115,7 @@ mv "${new_cfg}" "${old_cfg}"
run_app nc-limits
ncc maintenance:mode --off || true
+rm -f /etc/update-motd.d/30ncp-dist-upgrade
+
echo "Upgrade to ${release_new} successful"
trap '' EXIT