summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--spearmint.install5
3 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f7b4263bd023..cb544814c06c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Apr 3 07:12:10 UTC 2016
+# Sun Apr 3 07:14:55 UTC 2016
pkgbase = spearmint
pkgdesc = An improved ioquake3-based Quake 3: Arena client (note: requires pak files from original CD)
pkgver = 0.2
- pkgrel = 2
+ pkgrel = 3
url = http://spearmint.pw
install = spearmint.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index dc287cf4a251..1feda2220d5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=spearmint
pkgver=0.2
-pkgrel=2
+pkgrel=3
pkgdesc="An improved ioquake3-based Quake 3: Arena client (note: requires pak files from original CD)"
url="http://spearmint.pw"
license=("GPL3")
diff --git a/spearmint.install b/spearmint.install
index 3904d6ba7414..58bcad94e596 100644
--- a/spearmint.install
+++ b/spearmint.install
@@ -1,6 +1,7 @@
post_install() {
groupadd -f games
useradd -r -s /sbin/nologin -c "Spearmint Daemon user" -M -d /opt/quake3 -g games spearmint > /dev/null 2>&1
+ chown -R spearmint:games /opt/quake3
echo '!!!'
echo '!!! To play Spearmint with the Retail Version of Quake III: Arena,'
@@ -22,4 +23,8 @@ post_remove() {
then
groupdel games
fi
+ if [[ -d '/opt/quake3' ]];
+ then
+ chown -R root:root /opt/quake3 > /dev/null 2>&1
+ fi
}