summarylogtreecommitdiffstats
path: root/powder-toy.install
diff options
context:
space:
mode:
authorDmytro Meleshko2021-07-11 15:04:31 +0300
committerDmytro Meleshko2021-07-11 15:04:31 +0300
commitfacb6a2f1dfa12aa294ae1c07ac75164bf06db3e (patch)
treeecb4f4c4853e2b9fb21791237df0f97644abc6af /powder-toy.install
parent6455baf7ea519532a40654cf77c948430d1581a4 (diff)
downloadaur-facb6a2f1dfa12aa294ae1c07ac75164bf06db3e.tar.gz
v96.0.348
Diffstat (limited to 'powder-toy.install')
-rw-r--r--powder-toy.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/powder-toy.install b/powder-toy.install
new file mode 100644
index 000000000000..5d4747cdb066
--- /dev/null
+++ b/powder-toy.install
@@ -0,0 +1,10 @@
+post_upgrade() {
+ local new_pkgver="$1" old_pkgver="$2"
+ if [ "$(vercmp "$old_pkgver" 96.0)" -lt 0 ] && [ "$(vercmp "$new_pkgver" 96.0)" -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 96.0, please, move your saves
+accordingly.
+EOF
+ fi
+}