Author: pierre
Date: Thu Jul  9 09:59:36 2020
New Revision: 4191

Log:
Now that packageManager.xml createfiles is also included
 for new book, test that /tools/etc/porgrc exists before moving it

Modified:
   jhalfs/trunk/pkgmngt/packageManager.xml.porg

Modified: jhalfs/trunk/pkgmngt/packageManager.xml.porg
==============================================================================
--- jhalfs/trunk/pkgmngt/packageManager.xml.porg        Tue Jul  7 08:27:54 
2020        (r4190)
+++ jhalfs/trunk/pkgmngt/packageManager.xml.porg        Thu Jul  9 09:59:36 
2020        (r4191)
@@ -74,7 +74,11 @@
   <title>Files</title>
   <para><command>porgball</command> needs <filename>porgrc</filename>
     in <filename class="directory">/etc</filename>:</para>
-  <screen><userinput>cp /tools/etc/porgrc /etc</userinput></screen>
+
+<screen><userinput>if [ -f /tools/etc/porgrc ]; then
+    cp /tools/etc/porgrc /etc
+fi</userinput></screen>
+
 </sect1>
 
 <sect1 id="ch-chroot-pkgmngt" role="wrap">
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to