summarylogtreecommitdiffstats
path: root/systemd-swap.install
blob: 3facd1f65a922691d637eaf73a72297557a658f4 (plain)
1
2
3
4
5
post_upgrade() {
  if [[ $(vercmp "$2" 3) < 0 ]]; then
    echo "Since 3.0, the config file was moved to /etc/systemd/swap.conf, and incompatible with the old syntax. Please adjust your settings accordingly."
  fi
}