diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-06 15:15:42 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-06 15:15:42 +0100 |
commit | 9437cdbc03cb103235fa0b043f4cf73882f10f34 (patch) | |
tree | 5dba8834685e18222c996b3cd4c728958ed3a49b /community/mailman/mailman.install | |
parent | 7cfa9860fb15a4bf5066e33255da1a9b09cc95b1 (diff) | |
parent | a110e74fe4a31aebb09e0da6e407af69ed996837 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/drbd/PKGBUILD
community/dumb/PKGBUILD
community/echat/PKGBUILD
community/librcc/PKGBUILD
community/linux-tools/PKGBUILD
community/python2-pysqlite-legacy/PKGBUILD
community/python2-pyxmpp/PKGBUILD
core/libksba/PKGBUILD
core/ncurses/PKGBUILD
extra/libbonobo/PKGBUILD
extra/libmpeg2/PKGBUILD
extra/qt/PKGBUILD
extra/rarian/PKGBUILD
extra/wpa_supplicant_gui/PKGBUILD
libre/audacious-plugins-libre/PKGBUILD
Diffstat (limited to 'community/mailman/mailman.install')
-rw-r--r-- | community/mailman/mailman.install | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/community/mailman/mailman.install b/community/mailman/mailman.install index 62a364e1a..98864b3d3 100644 --- a/community/mailman/mailman.install +++ b/community/mailman/mailman.install @@ -17,13 +17,14 @@ post_install() { ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { - post_install "$1" + # check file permissions + cd /usr/lib/mailman && bin/check_perms > /dev/null } ## arg 1: the old package version -pre_remove() { - userdel mailman >/dev/null || true - groupdel mailman >/dev/null || true +post_remove() { + userdel -f mailman >/dev/null 2>&1 || true + groupdel mailman >/dev/null 2>&1 || true } # vim:set ts=2 sw=2 ft=sh et: |