Commit 8f3dfa94 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update core/debian/postinst, core/debian/changelog, CHANGELOG

parent 22bfbb61
......@@ -4,6 +4,7 @@ CHANGELOG
2021-12-13
sympl-core
* Updated workaround for Let's Encrypt cross-signed intermediate
* Fix for MOTD installation
2021-10-03
sympl-core
......
sympl-core (11.20211213.2) stable; urgency=medium
* Fix for MOTD installation
-- Paul Cammish <sympl@kelduum.net> Mon, 13 Dec 2021 17:02:00 +0000
sympl-core (11.20211213.1) stable; urgency=medium
* Handle other case in workaround
......
......@@ -15,7 +15,7 @@ fi
# Move the standard Debian MOTD
#
if [ $( grep -c '^The programs included with the Debian' /etc/motd ) -gt 0 ]; then
if [ -f /etc/motd ] && [ $( grep -c '^The programs included with the Debian' /etc/motd ) -gt 0 ]; then
echo "I: Moving stock MOTD"
mv /etc/motd /etc/motd.dpkg-sympl-orig
echo "" /etc/motd
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment