diff options
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter06/bzip2-inst.xml | 3 | ||||
-rw-r--r-- | chapter06/config-glibc.xml | 3 | ||||
-rw-r--r-- | chapter06/gzip-inst.xml | 4 |
4 files changed, 9 insertions, 6 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index af167ff82..6fa7a953e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -123,6 +123,11 @@ into one line. </para></listitem> <listitem><para> +Chapter 6: Changed all "rm file && ln -s dest file" into +"ln -sf file" (in glibc, bzip2 and gzip installation). +</para></listitem> + +<listitem><para> Chapter 7: Fixed the delays in the killproc function in the functions script. Now after kill, first check PIDs, then sleep 2 if needed. More details can be read in the comments in the script itself. 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> |