r5063 - in trunk/BOOK: introduction/welcome multimedia/libdriv

randy at linuxfromscratch.org randy at linuxfromscratch.org
Mon Sep 12 21:32:54 PDT 2005


Author: randy
Date: 2005-09-12 22:32:52 -0600 (Mon, 12 Sep 2005)
New Revision: 5063

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/gstreamer.xml
Log:
Adjusted the chown command in the GStreamer instructions to only run if the documentation files were built and installed

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-13 04:19:40 UTC (rev 5062)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-13 04:32:52 UTC (rev 5063)
@@ -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>

Modified: trunk/BOOK/multimedia/libdriv/gstreamer.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/gstreamer.xml	2005-09-13 04:19:40 UTC (rev 5062)
+++ trunk/BOOK/multimedia/libdriv/gstreamer.xml	2005-09-13 04:32:52 UTC (rev 5063)
@@ -95,7 +95,10 @@
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install &&
-chown -v -R root:root /usr/share/doc/gstreamer-&gstreamer-version;/*/html &&
+if [ -d /usr/share/doc/gstreamer-&gstreamer-version;/faq/html ]; then
+    chown -v -R root:root \
+        /usr/share/doc/gstreamer-&gstreamer-version;/*/html
+fi &&
 gst-register</userinput></screen>
 
   </sect2>
@@ -116,7 +119,8 @@
     <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>
 




More information about the blfs-book mailing list