diff options
author | brent s | 2016-04-03 03:14:55 -0400 |
---|---|---|
committer | brent s | 2016-04-03 03:14:55 -0400 |
commit | 28073c48de58b56bf398007e1dd62ac12e6a6309 (patch) | |
tree | 7ff91ec2d42b65cf9a0f8afbe341eb5c32d21d22 /spearmint.install | |
parent | 85aaaf0630259cf8bb493544054d103306b5eca9 (diff) | |
download | aur-28073c48de58b56bf398007e1dd62ac12e6a6309.tar.gz |
oops, missed some ownerships
Diffstat (limited to 'spearmint.install')
-rw-r--r-- | spearmint.install | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |