Author: pierre
Date: Wed Jan 23 13:45:11 2019
New Revision: 21025

Log:
Force NetworkManager to use Python 3

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/networking/netutils/networkmanager.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Wed Jan 23 13:11:58 
2019        (r21024)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Jan 23 13:45:11 
2019        (r21025)
@@ -45,6 +45,9 @@
       <para>January 23rd, 2018</para>
       <itemizedlist>
         <listitem>
+          <para>[pierre] - Force NetworkManager to use Python 3.</para>
+        </listitem>
+        <listitem>
           <para>[pierre] - Six is not needed for gdk-pixbuf.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/networking/netutils/networkmanager.xml
==============================================================================
--- trunk/BOOK/networking/netutils/networkmanager.xml   Wed Jan 23 13:11:58 
2019        (r21024)
+++ trunk/BOOK/networking/netutils/networkmanager.xml   Wed Jan 23 13:45:11 
2019        (r21025)
@@ -151,6 +151,13 @@
 <screen><userinput>sed '/initrd/d' -i src/meson.build</userinput></screen>
 
     <para>
+      Fix the python scripts so that they use <application>Python
+      3</application>:
+    </para>
+
+<screen><userinput>grep -rl '^#!.*python$' | xargs sed -i 
'1s/python/&amp;3/'</userinput></screen>
+
+    <para>
       Install <application>NetworkManager</application> by running the
       following commands:
     </para>
@@ -226,7 +233,7 @@
     </para>
 
     <para>
-      <parameter>-Ddocs=true</parameter>: Use this switch to enable building
+      <option>-Ddocs=true</option>: Use this switch to enable building
       man pages and documentation if <xref linkend="gtk-doc"/> is installed.
     </para>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to