diff options
author | Yaohan Chen | 2015-06-20 23:02:05 -0400 |
---|---|---|
committer | Yaohan Chen | 2015-06-20 23:02:05 -0400 |
commit | 383b18d63b4de789051f77f730db22e6f0e3c66d (patch) | |
tree | e2db24a6b791b710bf0f2122525daff8d0699bdb /wakfu.install | |
download | aur-383b18d63b4de789051f77f730db22e6f0e3c66d.tar.gz |
Initial import
Diffstat (limited to 'wakfu.install')
-rw-r--r-- | wakfu.install | 33 |
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: |