SF.net SVN: morphix:[2648] trunk/morph-scripts

[email protected] Wed, 25 Feb 2009 21:50:50 +0000
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2648
          http://morphix.svn.sourceforge.net/morphix/?rev=2648&view=rev
Author:   alextreme
Date:     2009-02-25 21:50:50 +0000 (Wed, 25 Feb 2009)

Log Message:
-----------
 * reordering minimodgen

Modified Paths:
--------------
    trunk/morph-scripts/debian/changelog
    trunk/morph-scripts/minimod-gen.pl

Modified: trunk/morph-scripts/debian/changelog
===================================================================
--- trunk/morph-scripts/debian/changelog	2009-01-27 14:53:00 UTC (rev 2647)
+++ trunk/morph-scripts/debian/changelog	2009-02-25 21:50:50 UTC (rev 2648)
@@ -1,3 +1,9 @@
+morph-scripts (0.2-37) unstable; urgency=low
+
+  * Fixing make-iso
+
+ -- Alex de Landgraaf <[email protected]>  Thu, 20 Mar 2008 00:18:38 +0100
+
 morph-scripts (0.2-36) unstable; urgency=low
 
   * Adding morphix-make-mini-home (a GUI-tool for creating a homedir minimod and storing it on a USB storage device)

Modified: trunk/morph-scripts/minimod-gen.pl
===================================================================
--- trunk/morph-scripts/minimod-gen.pl	2009-01-27 14:53:00 UTC (rev 2647)
+++ trunk/morph-scripts/minimod-gen.pl	2009-02-25 21:50:50 UTC (rev 2648)
@@ -581,21 +581,8 @@
     open (OUT, ">$moddir/morphix/loadmod.sh");
     
     print OUT "#!/bin/sh\n\#\n# This file has been generated by minimod-gen.pl\n\n";
-    ### the copy option
+### the debianpackage list option
 
-    while (($src,$dest) = each(%filelist)) {
-	$basename = (split/\//,$src)[-1];
-	print OUT "cp -a \"\$1\"/morphix/files/$basename $dest\n";
-    }
-    
-    ### the cmd/execute option
-
-    foreach $cmd (@cmdlist) {
-	print OUT "$cmd\n";
-    }
-
-    ### the debianpackage list option
-
     if (scalar @deblist_list != 0) {
 	mkdir ("$moddir/morphix/deb",0755) || die "cannot mkdir $moddir/morphix/deb: $!";
 	our $filename;
@@ -660,6 +647,21 @@
 	print OUT "mount --bind \"\$1\"/homedir /etc/skel\n";
 	print OUT "chown -R morph.users /home/morph\n";
     }
+
+    ### the copy option
+
+    while (($src,$dest) = each(%filelist)) {
+	$basename = (split/\//,$src)[-1];
+	print OUT "cp -a \"\$1\"/morphix/files/$basename $dest\n";
+    }
+    
+    ### the cmd/execute option
+
+    foreach $cmd (@cmdlist) {
+	print OUT "$cmd\n";
+    }
+
+    
     print OUT "\necho \"MiniModule loaded\"";
     close OUT;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H