Ignore:
Timestamp:
05/17/2021 03:09:39 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
bbea6a32
Parents:
7fbfed56
Message:

bzip2: replace copies of bzip2 executable with symlinks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/bzip2.xml

    r7fbfed56 r0389538  
    9090
    9191    <para>Install the shared <command>bzip2</command> binary into the
    92     <filename class="directory">/usr/bin</filename> directory:</para>
    93 
    94 <screen><userinput remap="install">cp -v bzip2-shared /usr/bin/bzip2</userinput></screen>
     92    <filename class="directory">/usr/bin</filename> directory, and replace
     93    two copies of <command>bzip2</command> with symlinks:</para>
     94
     95<screen><userinput remap="install">cp -v bzip2-shared /usr/bin/bzip2
     96for i in /usr/bin/{bzcat,bunzip2}; do
     97  ln -sfv bzip2 $i
     98done</userinput></screen>
    9599
    96100    <para>Remove an useless static library:</para>
Note: See TracChangeset for help on using the changeset viewer.