* ld.so.cache now moved to /usr/share/glibc and ushered into /etc * no longer executes ldconfig
29 lines
446 B
Bash
Executable File
29 lines
446 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
exit 0
|
|
;;
|
|
postinst)
|
|
if [ ! -f /etc/ld.so.cache ]; then
|
|
cp /usr/share/glibc/ld.so.cache /etc/ld.so.cache
|
|
fi
|
|
|
|
if [ ! -f /etc/ld.so.conf ]; then
|
|
cp /usr/share/glibc/ld.so.conf /etc/ld.so.conf
|
|
fi
|
|
|
|
if [ ! -f /etc/nsswitch.conf ]; then
|
|
cp /usr/share/glibc/nsswitch.conf /etc/nsswitch.conf
|
|
fi
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|