summaryrefslogtreecommitdiff
path: root/testing/util-linux/util-linux.install
blob: fa27d4555f2ebb441df093438688917b3ee9c935 (plain)
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
}