summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-nss-db
blob: 3814202adbf8db35e6dcc25c994869a3726d6e24 (plain)
1
2
3
4
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