* Split off separate glibc-dev * Added bash and dash as dependencies (needed for some scripts apparently) * Removed ld.so.cache * Generate ld.so.cache in usher * usher now uses /bin/sh * Removed TARGET from usher
27 lines
358 B
Bash
Executable File
27 lines
358 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
exit 0
|
|
;;
|
|
postinst)
|
|
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
|
|
|
|
ldconfig
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|