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/postinst-nss-db | |
parent | Initial commit. (diff) | |
download | dh-nss-68dbb69c02751fe0bf3ef38887bb3c30aa009800.tar.xz dh-nss-68dbb69c02751fe0bf3ef38887bb3c30aa009800.zip |
Adding upstream version 1.7.upstream/1.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autoscripts/postinst-nss-db')
-rw-r--r-- | autoscripts/postinst-nss-db | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoscripts/postinst-nss-db b/autoscripts/postinst-nss-db new file mode 100644 index 0000000..3814202 --- /dev/null +++ b/autoscripts/postinst-nss-db @@ -0,0 +1,5 @@ +if [ "$1" = "configure" ] && [ -e "${DPKG_ROOT}/etc/nsswitch.conf" ] ; then + if ! grep -q -E '^#DB#:' "${DPKG_ROOT}/etc/nsswitch.conf" ; then + echo "#DB#: " >> "${DPKG_ROOT}/etc/nsswitch.conf" + fi +fi |