aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2007-05-13 15:53:20 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2007-05-13 15:53:20 +0000
commit4df295926517ec58842afaa7874ca49f8d6d47a8 (patch)
tree42a56b88e85f473d3959c62c81d6dd0ae8417f0c
parent8c0dce34f040d6d358c1a37f44ba5b8d499c1981 (diff)
Fix the sed that disabled the installation of the groups.1 man page. It resulted in a few other man pages not being installed too.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8133 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/shadow.xml2
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b1416973d..5492e1fa6 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,11 @@
<para>2007-05-13</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Fix an overly aggressive sed, which prevented
+ several of Shadow's man pages from being installed instead of just
+ groups(1).</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Upgrade to Man-pages-2.48. Fixes
<ulink url="&lfs-ticket-root;2000">#2000</ulink>.</para>
</listitem>
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index b0ba161e2..f51d53ffc 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -72,7 +72,7 @@
and its man pages, as Coreutils provides a better version:</para>
<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
-find man -name Makefile -exec sed -i '/groups/d' {} \;</userinput></screen>
+find man -name Makefile -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
<para>Disable the installation of Chinese and Korean manual pages, since
Man-DB cannot format them properly:</para>