diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-06 01:06:40 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-06 01:06:40 (GMT) |
commit | fa050b437f10141db9c28b4f1327d27aa851d944 (patch) | |
tree | d46b04d9f727586bcd5db6de05f93030dcf03d1e /abs/core/syslog-ng/syslog-ng.install | |
parent | 2e9de8e980bd65c44629c8e1cb84105d530ce560 (diff) | |
parent | 676db4cdf0ec3a29073ee4408b8a610b1b334bd3 (diff) | |
download | linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.zip linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.tar.gz linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
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 +} |