summarylogtreecommitdiffstats
path: root/wakfu.install
diff options
context:
space:
mode:
authorYaohan Chen2015-06-20 23:02:05 -0400
committerYaohan Chen2015-06-20 23:02:05 -0400
commit383b18d63b4de789051f77f730db22e6f0e3c66d (patch)
treee2db24a6b791b710bf0f2122525daff8d0699bdb /wakfu.install
downloadaur-383b18d63b4de789051f77f730db22e6f0e3c66d.tar.gz
Initial import
Diffstat (limited to 'wakfu.install')
-rw-r--r--wakfu.install33
1 files changed, 33 insertions, 0 deletions
diff --git a/wakfu.install b/wakfu.install
new file mode 100644
index 000000000000..7068b4373c4e
--- /dev/null
+++ b/wakfu.install
@@ -0,0 +1,33 @@
+_installdir=/opt/ankama/wakfu
+
+pre_install() {
+ /bin/true
+}
+
+post_install() {
+ echo " ==> Setting permissions to allow auto-update"
+ chgrp -R users "$_installdir"
+ chmod -R g+w "$_installdir"
+ echo " ==> Note: The first auto-update will download all game"
+ echo " ==> content and may take a long time (~470MB)."
+}
+
+pre_upgrade() {
+ /bin/true
+}
+
+post_upgrade() {
+ /bin/true
+}
+
+pre_remove() {
+ /bin/true
+}
+
+post_remove() {
+ echo " ==> Note: To completely remove Wakfu from your disk,"
+ echo " ==> delete the folder $_installdir and its subfolders."
+ echo " ==> This is due to the auto-updater's temp files."
+}
+
+# vim:set ts=2 sw=2 et: