summarylogtreecommitdiffstats
path: root/gog-crypt-of-the-necrodancer.install
diff options
context:
space:
mode:
Diffstat (limited to 'gog-crypt-of-the-necrodancer.install')
-rw-r--r--gog-crypt-of-the-necrodancer.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/gog-crypt-of-the-necrodancer.install b/gog-crypt-of-the-necrodancer.install
new file mode 100644
index 000000000000..7c653e44d3f3
--- /dev/null
+++ b/gog-crypt-of-the-necrodancer.install
@@ -0,0 +1,18 @@
+post_install() {
+ update-desktop-database -q
+ touch /opt/gog/crypt-of-the-necrodancer/game/data/played.dat
+ touch /opt/gog/crypt-of-the-necrodancer/game/data/save_data.xml
+ touch /opt/gog/crypt-of-the-necrodancer/game/data/save_data.xml_TEMP
+ chmod 777 /opt/gog/crypt-of-the-necrodancer/game/data/played.dat
+ chmod 777 /opt/gog/crypt-of-the-necrodancer/game/data/save_data.xml
+ chmod 777 /opt/gog/crypt-of-the-necrodancer/game/data/save_data.xml_TEMP
+ echo "==> The save is located in /opt/gog/crypt-of-the-necrodancer/game/data/"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}