480 |
# nscd configuration file |
# nscd configuration file |
481 |
minstalletc nscd.conf || die |
minstalletc nscd.conf || die |
482 |
|
|
483 |
|
# busybox compat |
484 |
|
local args |
485 |
|
if [[ $(readlink /bin/cp) = */busybox ]] |
486 |
|
then |
487 |
|
args="-f" |
488 |
|
else |
489 |
|
args="--remove-destination" |
490 |
|
fi |
491 |
# we use Berlin as default |
# we use Berlin as default |
492 |
cp --remove-destination ${BINDIR}/usr/share/zoneinfo/Europe/Berlin ${BINDIR}/etc/localtime || die |
cp ${args} ${BINDIR}/usr/share/zoneinfo/Europe/Berlin ${BINDIR}/etc/localtime || die |
493 |
|
|
494 |
[ -f ${BINDIR}/etc/ld.so.conf ] && { rm -f ${BINDIR}/etc/ld.so.conf || die; } |
[ -f ${BINDIR}/etc/ld.so.conf ] && { rm -f ${BINDIR}/etc/ld.so.conf || die; } |
495 |
[ -e ${BINDIR}/etc/ld.so.cache ] && { rm -rf ${BINDIR}/etc/ld.so.cache || die; } |
[ -e ${BINDIR}/etc/ld.so.cache ] && { rm -rf ${BINDIR}/etc/ld.so.cache || die; } |
496 |
|
|