summaryrefslogtreecommitdiffstats
path: root/source/l/glibc/doinst.sh-aaa_glibc-solibs
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/glibc/doinst.sh-aaa_glibc-solibs')
-rw-r--r--source/l/glibc/doinst.sh-aaa_glibc-solibs7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/l/glibc/doinst.sh-aaa_glibc-solibs b/source/l/glibc/doinst.sh-aaa_glibc-solibs
index d5fea2e5f..fe8fc1f37 100644
--- a/source/l/glibc/doinst.sh-aaa_glibc-solibs
+++ b/source/l/glibc/doinst.sh-aaa_glibc-solibs
@@ -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:
@@ -136,7 +138,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 )
@@ -152,4 +156,3 @@ if [ ! -x /sbin/ldconfig ]; then
( cd lib ; rm -rf librt.so.1 )
( cd lib ; ln -sf librt-@@VERSION@@.so librt.so.1 )
fi
-