Remove duplicate run-parts script from libpaper.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23621 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2020-08-25 19:47:03 +00:00
parent 4e8fa5131d
commit 4fda2677b1
2 changed files with 16 additions and 7 deletions

View File

@ -99,8 +99,17 @@ make</userinput></screen>
</para>
<screen role="root"><userinput>make install &amp;&amp;
mkdir -vp /etc/libpaper.d &amp;&amp;
mkdir -vp /etc/libpaper.d</userinput></screen>
<para>
The /etc/libpaper.d directory contains scripts to run after the paper
size has been changed. This package puts no scripts here, but other
packages may. If the fcron package has not been installed, create the
<command>run-parts</command> script as shown in the <xref
linkend='run-parts'/> section.
</para>
<!--
cat &gt; /usr/bin/run-parts &lt;&lt; "EOF"
<literal>#!/bin/sh
# run-parts: Runs all the scripts found in a directory.
@ -153,7 +162,7 @@ exit 0</literal>
EOF
chmod -v 755 /usr/bin/run-parts</userinput></screen>
-->
</sect2>
<sect2 role="commands">
@ -167,7 +176,7 @@ chmod -v 755 /usr/bin/run-parts</userinput></screen>
<application>libpaper</application> expects that packages will install
files into this directory.
</para>
<!--
<para>
<command>cat &gt; /usr/bin/run-parts &lt;&lt; "EOF"</command> :
<filename>paperconfig</filename> is a script which will invoke
@ -175,7 +184,7 @@ chmod -v 755 /usr/bin/run-parts</userinput></screen>
class="directory">/etc/libpaper.d</filename> exists. No other BLFS
package installs this, so we create it here.
</para>
-->
</sect2>
<sect2 role="configuration">
@ -249,7 +258,7 @@ EOF</userinput></screen>
</indexterm>
</listitem>
</varlistentry>
<!--
<varlistentry id="run-parts">
<term><command>run-parts</command></term>
<listitem>
@ -261,7 +270,7 @@ EOF</userinput></screen>
</indexterm>
</listitem>
</varlistentry>
-->
<varlistentry id="libpaper-lib">
<term><filename class="libraryfile">libpaper.so</filename></term>
<listitem>

View File

@ -257,7 +257,7 @@ make</userinput></screen>
</sect3>
<sect3>
<sect3 id="run-parts" xreflabel="Fcron Configuration Information">
<title>Configuration Information</title>
<para>