diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bzip2-inst.xml | 3 | ||||
-rw-r--r-- | chapter06/config-glibc.xml | 3 | ||||
-rw-r--r-- | chapter06/gzip-inst.xml | 4 |
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 &&</userinput> <userinput>rm /usr/lib/libbz2.a &&</userinput> <userinput>cd /bin &&</userinput> - <userinput>rm bunzip2 && ln -s bzip2 bunzip2 - &&</userinput> + <userinput>ln -sf bzip2 bunzip2 &&</userinput> <userinput>rm bzcat && ln -s bzip2 bzcat &&</userinput> <userinput>cd /usr/share/man/man1 &&</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 &&</userinput> - <userinput>rm localtime &&</userinput> - <userinput>ln -s ../usr/share/zoneinfo/<tzselect's output> + <userinput>ln -sf ../usr/share/zoneinfo/<tzselect's output> 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 &&</userinput> <userinput>cd /usr/bin &&</userinput> <userinput>mv gzip /bin &&</userinput> - <userinput>rm gunzip /bin/gunzip &&</userinput> + <userinput>rm gunzip &&</userinput> <userinput>cd /bin &&</userinput> - <userinput>ln -s gzip gunzip &&</userinput> + <userinput>ln -sf gzip gunzip &&</userinput> <userinput>ln -s gzip compress &&</userinput> <userinput>ln -s gunzip uncompress</userinput> |