From 1d6d8671262dc6b2a4e02e4a1878d91b86647054 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 06:42:34 +0200 Subject: Adding upstream version 1.7. Signed-off-by: Daniel Baumann --- autoscripts/postinst-nss | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 autoscripts/postinst-nss (limited to 'autoscripts/postinst-nss') diff --git a/autoscripts/postinst-nss b/autoscripts/postinst-nss new file mode 100644 index 0000000..9f67154 --- /dev/null +++ b/autoscripts/postinst-nss @@ -0,0 +1,6 @@ +if [ "$1" = "configure" ] && [ -f "${DPKG_ROOT}/etc/nsswitch.conf.nss.${DPKG_MAINTSCRIPT_PACKAGE}-will-install" ] && [ -e "${DPKG_ROOT}/etc/nsswitch.conf" ] ; then + if ! grep -q -E #SERVICE_PATTERNS# "${DPKG_ROOT}/etc/nsswitch.conf" ; then + #OPERATIONS# + fi + rm "${DPKG_ROOT}/etc/nsswitch.conf.nss.${DPKG_MAINTSCRIPT_PACKAGE}-will-install" +fi -- cgit v1.2.3