Changeset 0980bd75


Ignore:
Timestamp:
09/15/2024 07:34:50 AM (3 days ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
d444a65
Parents:
795b6454
git-author:
Xi Ruoyao <xry111@…> (09/15/2024 07:33:59 AM)
git-committer:
Xi Ruoyao <xry111@…> (09/15/2024 07:34:50 AM)
Message:

iso-codes: Simplify adding -f and -n to ln -s

And -v is just unneeded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genutils/iso-codes.xml

    r795b6454 r0980bd75  
    8989    </para>
    9090
    91     <note>
    92       <para>
    93         If you install <application>ISO codes</application> over a previous
    94         installed version, the install step will fail when creating some
    95         symlinks. In order to properly update them, run:
    96       </para>
    97 
    98 <screen><userinput>sed -i '/^LN_S/s/s/sfvn/' */Makefile</userinput></screen>
    99 
    100     </note>
    101 
    10291    <para>
    10392      Now, as the <systemitem class="username">root</systemitem> user:
    10493    </para>
    10594
    106 <screen role="root"><userinput>make install</userinput></screen>
     95<screen role="root"><userinput>make install LN_S='ln -sfn'</userinput></screen>
    10796
     97  </sect2>
     98
     99  <sect2 role="commands">
     100    <title>Command Explanations</title>
     101
     102    <para>
     103      <parameter>LN_S='ln -sfn'</parameter>: This override ensures the
     104      installed symlinks correctly recreated in case we are upgrading or
     105      reinstalling the package.  It's unneeded but harmless when installing
     106      the package onto the system for the first time.
     107    </para>
    108108  </sect2>
    109109
Note: See TracChangeset for help on using the changeset viewer.