diff options
Diffstat (limited to 'debian/rsyslog.postinst')
-rw-r--r-- | debian/rsyslog.postinst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/rsyslog.postinst b/debian/rsyslog.postinst index a4fb3a0..da1554a 100644 --- a/debian/rsyslog.postinst +++ b/debian/rsyslog.postinst @@ -23,6 +23,11 @@ case "$1" in # Fix permissions of the spool/work directory (Bug: #693099) chmod 700 /var/spool/rsyslog + + # Clean up temporary syslog.service symlink + if [ -d /run/systemd/system ] && dpkg --compare-versions "$2" lt-nl "7.4.1-2" ; then + rm -f /run/systemd/system/syslog.service + fi ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -34,7 +39,4 @@ case "$1" in ;; esac - #DEBHELPER# - -exit 0 |