The following changes were made:

* ld.so.cache now moved to /usr/share/glibc and ushered into /etc
  * no longer executes ldconfig
This commit is contained in:
2018-03-29 16:41:05 -05:00
parent 27c487e386
commit 286bc10432
2 changed files with 6 additions and 4 deletions

View File

@@ -7,6 +7,10 @@ case $1 in
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
@@ -14,8 +18,6 @@ case $1 in
if [ ! -f /etc/nsswitch.conf ]; then
cp /usr/share/glibc/nsswitch.conf /etc/nsswitch.conf
fi
ldconfig
;;
prerm)
exit 0