diff options
Diffstat (limited to 'debian/libnss-mapuser.prerm')
-rw-r--r-- | debian/libnss-mapuser.prerm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/libnss-mapuser.prerm b/debian/libnss-mapuser.prerm index c4f259f..c9bb6b1 100644 --- a/debian/libnss-mapuser.prerm +++ b/debian/libnss-mapuser.prerm @@ -4,13 +4,6 @@ set -e if [ "$1" = remove ]; then pam-auth-update --package --remove mapuser - # Undo the addition of the plugins - if [ -e "/etc/nsswitch.conf" ]; then - sed -i -e '/^passwd:.*mapuid[ \t]/s/mapuid[ \t]//' \ - -e '/^passwd:.*[ \t]mapname/s/[ \t]mapname//' \ - -e '/^group:.*[ \t]mapname/s/[ \t]mapname//' \ - /etc/nsswitch.conf || true # don't prevent remove on error - fi fi #DEBHELPER# |