diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-07-20 01:53:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-07-20 19:46:33 +0300 |
commit | 5bc9057377ac829c71c1e9622734e79f3dfff7f3 (patch) | |
tree | 8a9069bb062dc49b0728474938158d9548daf64d /bin/ncp-dist-upgrade | |
parent | 03713d6b0b90d427cd6751fd5e9f806e59b59708 (diff) |
update: remove dist upgrade notification after upgrade
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp-dist-upgrade')
-rwxr-xr-x | bin/ncp-dist-upgrade | 2 |
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 |