diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-10-20 13:50:49 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-10-20 13:50:49 +0000 |
commit | 1a136cf48dd7f710f38ff998182508f5a0d41c35 (patch) | |
tree | 34f285379061ab4346b6dcbdc30b8742cebfa22a /community-testing/exim/exim.install | |
parent | 6c5c865fa6674610732dd8427bf8f09f3c166299 (diff) |
Thu Oct 20 13:50:46 UTC 2011
Diffstat (limited to 'community-testing/exim/exim.install')
-rw-r--r-- | community-testing/exim/exim.install | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/community-testing/exim/exim.install b/community-testing/exim/exim.install deleted file mode 100644 index 8ed329559..000000000 --- a/community-testing/exim/exim.install +++ /dev/null @@ -1,25 +0,0 @@ -# arg 1: the new package version -post_install() { - getent group exim >/dev/null 2>&1 || groupadd -g 79 exim - if getent passwd exim > /dev/null 2>&1; then - usr/sbin/usermod -d /var/spool/exim -c 'Exim MTA' -s /sbin/nologin exim > /dev/null 2>&1 - else - usr/sbin/useradd -c 'Exim MTA' -u 79 -g exim -d /var/spool/exim -s /sbin/nologin exim - fi - passwd -l exim > /dev/null - chown root.exim /var/spool/exim /var/log/exim - chown exim.exim /var/spool/exim/db - chmod u+s /usr/sbin/exim -} - -# 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 exim >/dev/null 2>&1 && userdel exim -} - |