Files
glibc/SNAP/usher

25 lines
400 B
Bash
Executable File

#!/bin/bash
set -e
case $1 in
preinst)
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/ld.so.conf ]; then
cp ${TARGET}/usr/share/glibc/ld.so.conf ${TARGET}/etc/ld.so.conf
fi
if [ ! -f ${TARGET}/etc/nsswitch.conf ]; then
cp ${TARGET}/usr/share/glibc/nsswitch.conf ${TARGET}/etc/nsswitch.conf
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac