From 02acf3932501e4ca775787bf0c86ef97a50c986d Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 13 Apr 2025 15:20:14 +0100 Subject: packaging: T7336: fix package install files --- debian/libnss-mapuser.prerm | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 debian/libnss-mapuser.prerm (limited to 'debian/libnss-mapuser.prerm') diff --git a/debian/libnss-mapuser.prerm b/debian/libnss-mapuser.prerm deleted file mode 100644 index c4f259f..0000000 --- a/debian/libnss-mapuser.prerm +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -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# -- cgit v1.2.3