summarylogtreecommitdiffstats
path: root/powder-toy-snapshot.install
blob: d11ad130b76b19fe060a5e06d0c10ab04d02ec95 (plain)
1
2
3
4
5
6
7
8
9
10
post_upgrade() {
  local new_pkgver="$1" old_pkgver="$2"
  if [ "$(vercmp "$old_pkgver" 218)" -lt 0 ] && [ "$(vercmp "$new_pkgver" 218)" -ge 0 ]; then
    cat <<EOF
The saves directory has been changed from \`~/.local/share/powder-toy\` to
\`~/.local/share/The Powder Toy\` in the version 218, please, move
your saves accordingly.
EOF
  fi
}