diff options
Diffstat (limited to 'source/l/glibc/doinst.sh-glibc')
-rw-r--r-- | source/l/glibc/doinst.sh-glibc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/l/glibc/doinst.sh-glibc b/source/l/glibc/doinst.sh-glibc index 2ed07ad03..5fa7d2f86 100644 --- a/source/l/glibc/doinst.sh-glibc +++ b/source/l/glibc/doinst.sh-glibc @@ -72,6 +72,8 @@ if [ -x /sbin/ldconfig -a -d lib/incoming ]; then # swap on the fly rm -f $LIBRARY done done + # Remove stale versions of libcrypt from Slackware 14.2 or newer: + rm -f libcrypt-{2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37}.so ) fi # Finally, rename them and clean up: @@ -138,7 +140,9 @@ if [ ! -x /sbin/ldconfig ]; then ( cd lib ; rm -rf libanl.so.1 ) ( cd lib ; ln -sf libanl-@@VERSION@@.so libanl.so.1 ) ( cd lib ; rm -rf libcrypt.so.1 ) -( cd lib ; ln -sf libcrypt-@@VERSION@@.so libcrypt.so.1 ) +( cd lib ; ln -sf libcrypt1-@@VERSION@@.so libcrypt.so.1 ) +( cd lib ; rm -rf libcrypt.so.2 ) +( cd lib ; ln -sf libcrypt2-@@VERSION@@.so libcrypt.so.2 ) ( cd lib ; rm -rf libBrokenLocale.so.1 ) ( cd lib ; ln -sf libBrokenLocale-@@VERSION@@.so libBrokenLocale.so.1 ) ( cd lib ; rm -rf ld-linux.so.2 ) |