aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-14 04:18:47 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-14 04:18:47 +0000
commit8d8ab633a0bf92e5f9f95518616120b4d82a5d5a (patch)
treea34099680e8806298b24d79036f1a8d8ab089899 /chapter06/bzip2-inst.xml
parent06cf96a326e9f17b553d505e58756fe0472a6159 (diff)
Fixed the 'superfluous *.so symlinks' again.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2111 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bzip2-inst.xml')
-rw-r--r--chapter06/bzip2-inst.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 12702cb1b..9bfc7df64 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -9,6 +9,8 @@ make PREFIX=/usr install &amp;&amp;
cp bzip2-shared /bin/bzip2 &amp;&amp;
ln -s libbz2.so.1.0 libbz2.so &amp;&amp;
cp -a libbz2.so* /lib &amp;&amp;
+rm /lib/libbz2.so &amp;&amp;
+ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &amp;&amp;
rm /usr/bin/{bunzip2,bzcat,bzip2} &amp;&amp;
mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &amp;&amp;
ln -s bzip2 /bin/bunzip2 &amp;&amp;