summaryrefslogtreecommitdiffstats
path: root/abs/core/syslog-ng/syslog-ng.install
blob: 96f5dd80aa2c472643b5dbac455bc12d02fca275 (plain)
1
2
3
4
5
6
7
8
9
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
}