diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-05 16:05:52 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-05 16:05:52 (GMT) |
commit | 441806506e869e1e5a683cc31d91253066f3fc94 (patch) | |
tree | 8456cb660e783157bfc06448ec14e74ea8f86bc8 /abs/core/syslog-ng/syslog-ng.install | |
parent | 722d2f1503f77e4de673829032c85b729ce07f84 (diff) | |
download | linhes_pkgbuild-441806506e869e1e5a683cc31d91253066f3fc94.zip linhes_pkgbuild-441806506e869e1e5a683cc31d91253066f3fc94.tar.gz linhes_pkgbuild-441806506e869e1e5a683cc31d91253066f3fc94.tar.bz2 |
syslog: missed a few files
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 +} |