diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 04:42:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 04:42:34 +0000 |
commit | 1d6d8671262dc6b2a4e02e4a1878d91b86647054 (patch) | |
tree | 802f631f1abc6181cc842079844c15d37a54b14f /autoscripts/preinst-nss | |
parent | Initial commit. (diff) | |
download | dh-nss-1d6d8671262dc6b2a4e02e4a1878d91b86647054.tar.xz dh-nss-1d6d8671262dc6b2a4e02e4a1878d91b86647054.zip |
Adding upstream version 1.7.upstream/1.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autoscripts/preinst-nss')
-rw-r--r-- | autoscripts/preinst-nss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/preinst-nss b/autoscripts/preinst-nss new file mode 100644 index 0000000..a21bc7a --- /dev/null +++ b/autoscripts/preinst-nss @@ -0,0 +1,4 @@ +if [ "$1" = install ]; then + # Signal to postinst that the NSS services should be installed, even if the package has been removed but not purged. + touch "${DPKG_ROOT}/etc/nsswitch.conf.nss.${DPKG_MAINTSCRIPT_PACKAGE}-will-install" +fi |