1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh # arg 1: the new package version # arg 2: the old package version post_upgrade() { if [ "$(vercmp $2 3.7-4)" -le 0 ]; then cat << EOF ===> cpupower startup config file moved to /etc/default/cpupower EOF fi } # vim:set ts=2 sw=2 ft=sh et: