aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>