diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/bzip2.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chapter08/bzip2.xml b/chapter08/bzip2.xml index 5d1e53469..68f567fcd 100644 --- a/chapter08/bzip2.xml +++ b/chapter08/bzip2.xml @@ -89,9 +89,13 @@ make clean</userinput></screen> ln -sv libbz2.so.&bzip2-version; /usr/lib/libbz2.so</userinput></screen> <para>Install the shared <command>bzip2</command> binary into the - <filename class="directory">/usr/bin</filename> directory:</para> + <filename class="directory">/usr/bin</filename> directory, and replace + two copies of <command>bzip2</command> with symlinks:</para> -<screen><userinput remap="install">cp -v bzip2-shared /usr/bin/bzip2</userinput></screen> +<screen><userinput remap="install">cp -v bzip2-shared /usr/bin/bzip2 +for i in /usr/bin/{bzcat,bunzip2}; do + ln -sfv bzip2 $i +done</userinput></screen> <para>Remove an useless static library:</para> |