Adjusted the chown command in the GStreamer instructions to only run if the documentation files were built and installed

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5063 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-09-13 04:32:52 +00:00
parent ccc04dcefd
commit ec5db802af
2 changed files with 9 additions and 3 deletions

View File

@ -45,7 +45,9 @@
<para>September 13th, 2005</para>
<itemizedlist>
<listitem>
<para>[randy] - Updated to GStreamer-0.8.11.</para>
<para>[randy] - Updated to GStreamer-0.8.11 and adjusted the
documentation files chown command to only run if the docs were
built and installed.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -95,7 +95,10 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
chown -v -R root:root /usr/share/doc/gstreamer-&gstreamer-version;/*/html &amp;&amp;
if [ -d /usr/share/doc/gstreamer-&gstreamer-version;/faq/html ]; then
chown -v -R root:root \
/usr/share/doc/gstreamer-&gstreamer-version;/*/html
fi &amp;&amp;
gst-register</userinput></screen>
</sect2>
@ -116,7 +119,8 @@ gst-register</userinput></screen>
<para><command>chown -v -R root:root ...</command>: The documentation is
installed with ownerships of the user who untarred and built the package.
This command changes the ownerships of the installed documentation files to
root:root.</para>
root:root and is only executed if the documentation files were built and
installed.</para>
</sect2>