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 2.2.0.3-12)" -le 0 ]; then cat << EOF ===> dkms startup config file moved to /etc/default/dkms EOF fi } # vim:set ts=2 sw=2 ft=sh et: