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.r132.598988e")" <= 0 )); then cat << EOF || return 1 After upgrading to systemd 254, run sudo sbupdate to rebuild EFI images. EOF fi }