aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorThomas Balu Walter <tw@itreff.de>2001-03-13 17:19:45 +0000
committerThomas Balu Walter <tw@itreff.de>2001-03-13 17:19:45 +0000
commite0d18a70caed39d29a50317d1a857ad771117dad (patch)
tree8f824374a8d3dd69127df1aab2dec0402523dbf8 /chapter06
parent015eb7c61c4f758e472834cbbac99ad558ba3f97 (diff)
Changed all "rm file && ln -s dest file" into "ln -sf file".
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@312 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bzip2-inst.xml3
-rw-r--r--chapter06/config-glibc.xml3
-rw-r--r--chapter06/gzip-inst.xml4
3 files changed, 4 insertions, 6 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 580643476..a2977a367 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -16,8 +16,7 @@ Install Bzip2 by running the following commands:
<userinput>cp -a libbz2.so* libbz2.a /lib &amp;&amp;</userinput>
<userinput>rm /usr/lib/libbz2.a &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
- <userinput>rm bunzip2 &amp;&amp; ln -s bzip2 bunzip2
- &amp;&amp;</userinput>
+ <userinput>ln -sf bzip2 bunzip2 &amp;&amp;</userinput>
<userinput>rm bzcat &amp;&amp; ln -s bzip2 bzcat
&amp;&amp;</userinput>
<userinput>cd /usr/share/man/man1 &amp;&amp;</userinput>
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml
index 5272c536e..4377c40e9 100644
--- a/chapter06/config-glibc.xml
+++ b/chapter06/config-glibc.xml
@@ -52,8 +52,7 @@ by running:
<blockquote><literallayout>
<userinput>cd /etc &amp;&amp;</userinput>
- <userinput>rm localtime &amp;&amp;</userinput>
- <userinput>ln -s ../usr/share/zoneinfo/&lt;tzselect's output&gt;
+ <userinput>ln -sf ../usr/share/zoneinfo/&lt;tzselect's output&gt;
localtime</userinput>
</literallayout></blockquote>
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 9eb3acdeb..32147581c 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -12,9 +12,9 @@ Install Gzip by running the following commands:
<userinput>make install &amp;&amp;</userinput>
<userinput>cd /usr/bin &amp;&amp;</userinput>
<userinput>mv gzip /bin &amp;&amp;</userinput>
- <userinput>rm gunzip /bin/gunzip &amp;&amp;</userinput>
+ <userinput>rm gunzip &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
- <userinput>ln -s gzip gunzip &amp;&amp;</userinput>
+ <userinput>ln -sf gzip gunzip &amp;&amp;</userinput>
<userinput>ln -s gzip compress &amp;&amp;</userinput>
<userinput>ln -s gunzip uncompress</userinput>