/usr/src/glibc/debian/debhelper.in/libc-bin.postinst is in eglibc-source 2.19-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh
set -e
export LC_ALL=C
install_from_default() {
if [ ! -f $2 ]; then
cp -p $1 $2
fi
}
if [ "$1" = "configure" ] && [ "$2" = "" ] ; then
install_from_default /usr/share/libc-bin/nsswitch.conf /etc/nsswitch.conf
fi
if [ "$1" = "triggered" ]; then
LDCONFIG_NOTRIGGER=y
export LDCONFIG_NOTRIGGER
ldconfig || ldconfig --verbose
exit 0
fi
#DEBHELPER#
exit 0
|