[lfs] branch trunk updated: bzip2: Force creation of symlinks.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <177191258640.25604.7066995480965328983@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new ca8c5f8a5 bzip2: Force creation of symlinks.
ca8c5f8a5 is described below

commit ca8c5f8a500abb97a92f55d870503b3416a087ac
Author: Zeckmathederg <[email protected]>
AuthorDate: Mon Feb 23 22:56:55 2026 -0700

    bzip2: Force creation of symlinks.
    
    When upgrading bzip, following the previous ln commands will fail
    because the symlinks already exist. Using -f will unconditionally create
    the symlinks.
---
 chapter08/bzip2.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/chapter08/bzip2.xml b/chapter08/bzip2.xml
index 5489befae..d227ff9a6 100644
--- a/chapter08/bzip2.xml
+++ b/chapter08/bzip2.xml
@@ -87,16 +87,16 @@ make clean</userinput></screen>
     <para>Install the shared library:</para>
 
 <screen><userinput remap="install">cp -av libbz2.so.* /usr/lib
-ln -sv libbz2.so.&bzip2-version; /usr/lib/libbz2.so</userinput></screen>
+ln -sfv libbz2.so.&bzip2-version; /usr/lib/libbz2.so</userinput></screen>
 
     <para>The name of the shared library isn't standardized and it varies
-    among distros.  The instruction above has installed
+    among distros. The instruction above has installed
     <filename class='libraryfile'>libbz2.so.1.0</filename>, but some
     applications, for example Kbd, expects a different name
     <filename class='libraryfile'>libbz2.so.1</filename> that some other
-    distros are using.  Create a compatibility symlink for them:</para>
+    distros are using. Create a compatibility symlink for them:</para>
 
-<screen><userinput>ln -sv libbz2.so.&bzip2-version; /usr/lib/libbz2.so.1</userinput></screen>
+<screen><userinput>ln -sfv libbz2.so.&bzip2-version; /usr/lib/libbz2.so.1</userinput></screen>
 
     <note>
       <para>The symlink approach is only valid here because the library

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.