thinrasp/etc_org/update-motd.d/91-release-upgrade
2019-11-26 21:36:24 +01:00

10 lines
299 B
Bash
Executable File

#!/bin/sh
# if the current release is under development there won't be a new one
if [ "$(lsb_release -sd | cut -d' ' -f4)" = "(development" ]; then
exit 0
fi
if [ -x /usr/lib/ubuntu-release-upgrader/release-upgrade-motd ]; then
exec /usr/lib/ubuntu-release-upgrader/release-upgrade-motd
fi