diff options
author | spider-mario | 2017-01-07 16:39:12 +0100 |
---|---|---|
committer | spider-mario | 2017-01-07 16:39:12 +0100 |
commit | 47c120c4fee7f9dd24c88c44d4d6177631669056 (patch) | |
tree | e1bc3ae24260701830c96201f5b6b29b4f4e21c6 | |
parent | 9da563a07f298b8a3e0ccc78cff4ca7a545f8db0 (diff) | |
download | aur-47c120c4fee7f9dd24c88c44d4d6177631669056.tar.gz |
Change group to `games` from .install
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | wakfu.install | 16 |
3 files changed, 5 insertions, 17 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sat Jan 7 15:18:29 UTC 2017 +# Sat Jan 7 15:39:02 UTC 2017 pkgbase = wakfu-transition pkgdesc = A turn-based tactical Massively Multiplayer Online Role-playing Game (MMORPG) written in Java/OpenGL. pkgver = 1.38 - pkgrel = 5 + pkgrel = 6 url = http://www.wakfu.com/ install = wakfu.install arch = i686 @@ -4,7 +4,7 @@ # Contributor: raingloom <raingloom42@gmail.com> pkgname=wakfu-transition pkgver=1.38 -pkgrel=5 +pkgrel=6 pkgdesc="A turn-based tactical Massively Multiplayer Online Role-playing Game (MMORPG) written in Java/OpenGL." arch=('i686' 'x86_64') url="http://www.wakfu.com/" 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() { |