Browse Source

Prevent Shadow from installing internationalized variants of the 'groups' man page

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7188 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 19 năm trước cách đây
mục cha
commit
70326afc73
2 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 4 0
      chapter01/changelog.xml
  2. 1 1
      chapter06/shadow.xml

+ 4 - 0
chapter01/changelog.xml

@@ -114,6 +114,10 @@ First a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>November 26, 2005 [matt]: Prevent installing the
+internationalized man pages for Shadow's <command>groups</command> binary
+(thanks to Randy McMurchy for the report).</para></listitem>
+
 <listitem><para>November 26, 2005 [matt]: Upgrade to man-pages 2.14.</para>
 </listitem>
 

+ 1 - 1
chapter06/shadow.xml

@@ -46,7 +46,7 @@ prior to building Shadow. Then add <parameter>--with-libcrack</parameter> to the
 <para>Disable the installation of the <command>groups</command> program and its man page, as Coreutils provides a better version:</para>
 
 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
-sed -i '/groups/d' man/Makefile</userinput></screen>
+find man -name Makefile -exec sed -i '/groups/d' {} \;</userinput></screen>
 
 <para>Compile the package:</para>