diff options
Diffstat (limited to 'abs/core/syslog-ng/syslog-ng.install')
-rw-r--r-- | abs/core/syslog-ng/syslog-ng.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/syslog-ng/syslog-ng.install b/abs/core/syslog-ng/syslog-ng.install new file mode 100644 index 0000000..96f5dd8 --- /dev/null +++ b/abs/core/syslog-ng/syslog-ng.install @@ -0,0 +1,10 @@ +# arg 1: the new package version +# arg 2: the old package version + +post_upgrade() { + if [ "$(vercmp $2 2.1.3-3)" -lt 0 -a -e /etc/syslog-ng.conf.pacnew ]; then + echo "Attention syslog-ng update:" + echo "Configuration file syntax has changed. Make sure to update /etc/syslog-ng.conf" + + fi +} |