mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
11 lines
300 B
Plaintext
11 lines
300 B
Plaintext
# 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
|
|
}
|