r1786 - profiles/BLFS/trunk/chapter46

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sun Feb 20 11:54:46 PST 2005


Author: kpfleming
Date: 2005-02-20 12:54:43 -0700 (Sun, 20 Feb 2005)
New Revision: 1786

Modified:
   profiles/BLFS/trunk/chapter46/tex.xml
Log:
use unpack elements to install texmf



Modified: profiles/BLFS/trunk/chapter46/tex.xml
===================================================================
--- profiles/BLFS/trunk/chapter46/tex.xml	2005-02-19 18:19:49 UTC (rev 1785)
+++ profiles/BLFS/trunk/chapter46/tex.xml	2005-02-20 19:54:43 UTC (rev 1786)
@@ -46,8 +46,23 @@
         <option>parents</option>
         <name>/usr/share/texmf</name>
       </mkdir>
-      <execute command="gzip -dc &packages_dir;/&tex-texmf-package; | (umask 0; cd /usr/share/texmf; tar xvf -)" />
-      <execute command="gzip -dc &packages_dir;/&tex-texmfsrc-package; | (umask 0; cd /usr/share/texmf; tar xvf -)" />
+      <stage name="Installing texmf">
+        <!-- force the stage handler to fork, so the umask will be reset to default when done -->
+	<stageinfo>
+	  <user>root</user>
+	</stageinfo>
+        <execute command="umask">
+	  <param>0</param>
+	</execute>
+        <unpack>
+          <archive>&packages_dir;/&tex-texmf-package;</archive>
+          <destination>/usr/share/texmf</destination>
+        </unpack>
+        <unpack>
+          <archive>&packages_dir;/&tex-texmfsrc-package;</archive>
+          <destination>/usr/share/texmf</destination>
+        </unpack>
+      </stage>
       <patch>
         <param>-N</param>
         <param>-p1</param>




More information about the alfs-log mailing list