summaryrefslogtreecommitdiff
path: root/community/sauerbraten/sauerbraten.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
commit9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch)
tree06520d9024b40745b94f02d0d3419386e6496863 /community/sauerbraten/sauerbraten.install
parent6cc893589a6bd208f2b7711f985e17df7a6df816 (diff)
parenta86ff663185661ee304bb1f6d00d982102dd706d (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/sauerbraten/sauerbraten.install')
-rw-r--r--community/sauerbraten/sauerbraten.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/community/sauerbraten/sauerbraten.install b/community/sauerbraten/sauerbraten.install
deleted file mode 100644
index 2ee7689ab..000000000
--- a/community/sauerbraten/sauerbraten.install
+++ /dev/null
@@ -1,22 +0,0 @@
-# arg 1: the new package version
-post_install() {
- getent group sauerbraten >/dev/null 2>&1 || groupadd -r sauerbraten
- if getent passwd sauerbraten > /dev/null 2>&1; then
- usr/sbin/usermod -d /var/spool/sauerbraten -c 'Sauerbraten' -s /sbin/nologin sauerbraten > /dev/null 2>&1
- else
- usr/sbin/useradd -c 'Sauerbraten' -r -g sauerbraten -d /opt/sauerbraten -s /sbin/nologin sauerbraten
- fi
- passwd -l sauerbraten > /dev/null
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- getent passwd sauerbraten >/dev/null 2>&1 && userdel sauerbraten
-}
-