summaryrefslogtreecommitdiff
path: root/debian/libnss-mapuser.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libnss-mapuser.prerm')
-rw-r--r--debian/libnss-mapuser.prerm1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/libnss-mapuser.prerm b/debian/libnss-mapuser.prerm
index af98f1b..c4f259f 100644
--- a/debian/libnss-mapuser.prerm
+++ b/debian/libnss-mapuser.prerm
@@ -8,6 +8,7 @@ if [ "$1" = remove ]; then
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