|
From: <ale...@us...> - 2009-02-25 23:34:34
|
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 <al...@de...> 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.
|