diff options
author | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-10 01:12:52 -0800 |
commit | 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch) | |
tree | 016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/sauerbraten/sauerbraten.install | |
parent | e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff) |
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/sauerbraten/sauerbraten.install')
-rw-r--r-- | community/sauerbraten/sauerbraten.install | 22 |
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 -} - |