mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
14 lines
320 B
Text
14 lines
320 B
Text
# 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
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|