summarylogtreecommitdiffstats
path: root/ukpdate.install
blob: 75486aa4323de598c130fdbb873748f50c54fc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  if (( "$(vercmp "$2" "0.r72.cca1186-1")" <= 0 )); then
    cat << EOF || return 1

The location of the configuration file has changed. Use

  vimdiff /etc/ukpdate.conf /etc/default/ukpdate.pacsave

or similar to merge the current configuration.

EOF
  fi
}