diff options
author | Michael Biebl <biebl@debian.org> | 2014-08-18 02:42:28 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2014-08-18 02:42:32 +0200 |
commit | 2f1642fd1a4dadb6c9961afd792b7bf0811b8b75 (patch) | |
tree | 112572f163b2a6cafa26e61a7f2c0300cf00fe95 /debian/rsyslog.postinst | |
parent | b816ea071c15bf13746dd8df4b41a1df53cf2b54 (diff) | |
download | rsyslog-2f1642fd1a4dadb6c9961afd792b7bf0811b8b75.tar.gz |
Make sure to actually only create the temporary syslog.service symlink on upgrades
... and avoid the usage of readlink.
Diffstat (limited to 'debian/rsyslog.postinst')
-rw-r--r-- | debian/rsyslog.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rsyslog.postinst b/debian/rsyslog.postinst index 36ffc60..da1554a 100644 --- a/debian/rsyslog.postinst +++ b/debian/rsyslog.postinst @@ -25,7 +25,7 @@ case "$1" in chmod 700 /var/spool/rsyslog # Clean up temporary syslog.service symlink - if [ -d /run/systemd/system ] && dpkg --compare-versions "$2" lt "7.4.1-2" ; then + if [ -d /run/systemd/system ] && dpkg --compare-versions "$2" lt-nl "7.4.1-2" ; then rm -f /run/systemd/system/syslog.service fi ;; |