1 2 3 4 5 6 7 8
post_upgrade() { if [ "$(vercmp $2 2.21.2-4)" -lt 0 ]; then if [ -f /var/lib/hwclock/adjtime ]; then mv /var/lib/hwclock/adjtime /etc/adjtime fi rmdir /var/lib/hwclock fi }