aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
commit3f12743405f4123463b57e0446bafdd398f2e598 (patch)
tree83da594bcaa934cf257c132e40768c79e4ebc98c /chapter06/bzip2-inst.xml
parent9ef087369ca769f8f3a4ff76f7dba91a0bc80678 (diff)
fix bugs #335 and #342 plus various touch ups, layout fixed (line wrapping mostly)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bzip2-inst.xml')
-rw-r--r--chapter06/bzip2-inst.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index cf2abcd81..39ba93e21 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -10,15 +10,12 @@ 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;
-cd /usr/lib &amp;&amp;
-ln -sf ../../lib/libbz2.so &amp;&amp;
-cd /usr/bin &amp;&amp;
-rm bunzip2 bzcat bzip2 &amp;&amp;
-rm /bin/bzless /bin/bzmore &amp;&amp;
-mv bzip2recover bzless bzmore /bin &amp;&amp;
-cd /bin &amp;&amp;
-ln -sf bzip2 bunzip2 &amp;&amp;
-ln -sf bzip2 bzcat</userinput></screen></para>
+ln -sf ../../lib/libbz2.so $LFS/usr/lib&amp;&amp;
+rm /usr/bin/{bunzip2,bzcat,bzip2} &amp;&amp;
+rm /bin/{bzless,bzmore} &amp;&amp;
+mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &amp;&amp;
+ln -sf bzip2 /bin/bunzip2 &amp;&amp;
+ln -sf bzip2 /bin/bzcat</userinput></screen></para>
<para>Although it's not strictly a part of a basic LFS system it's worth