summarylogtreecommitdiffstats
path: root/wakfu.install
diff options
context:
space:
mode:
authorspider-mario2017-01-07 16:39:12 +0100
committerspider-mario2017-01-07 16:39:12 +0100
commit47c120c4fee7f9dd24c88c44d4d6177631669056 (patch)
treee1bc3ae24260701830c96201f5b6b29b4f4e21c6 /wakfu.install
parent9da563a07f298b8a3e0ccc78cff4ca7a545f8db0 (diff)
downloadaur-47c120c4fee7f9dd24c88c44d4d6177631669056.tar.gz
Change group to `games` from .install
Diffstat (limited to 'wakfu.install')
-rw-r--r--wakfu.install16
1 files changed, 2 insertions, 14 deletions
diff --git a/wakfu.install b/wakfu.install
index 7068b4373c4e..6076e4788d43 100644
--- a/wakfu.install
+++ b/wakfu.install
@@ -1,27 +1,15 @@
_installdir=/opt/ankama/wakfu
-pre_install() {
- /bin/true
-}
-
post_install() {
echo " ==> Setting permissions to allow auto-update"
- chgrp -R users "$_installdir"
+ chgrp -R games "$_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_install
}
post_remove() {