summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--wakfu.install16
3 files changed, 5 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 499bda5f7b9e..1f62d0c34453 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 64b63dc66507..e1b65ae87169 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {