SF.net SVN: morphix: [2380] trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh

[email protected] Wed, 02 Aug 2006 13:55:05 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2380
Author:   bmsleight
Date:     2006-08-02 13:54:49 -0700 (Wed, 02 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2380&view=rev

Log Message:
-----------
Still moving along

Modified Paths:
--------------
    trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
Modified: trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
===================================================================
--- trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh	2006-08-01 23:41:30 UTC (rev 2379)
+++ trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh	2006-08-02 20:54:49 UTC (rev 2380)
@@ -366,7 +366,6 @@
 	0) 
 	  log_file "closing_morphix $1";
 	  source $SETTING_FILE ;
-	  sudo umount $MNT_POINT ;
 	  rm $TMP_FILE		2>/dev/null
 	  rm $TMP_FILE_2	2>/dev/null
 	  rm $TMP_SCRIPT	2>/dev/null
@@ -376,6 +375,8 @@
 	    log_and_do_command  "sudo ln -sf /var/tmp /"
 	    log_and_do_command  "sudo sync"
 	    log_and_do_command  "sudo umount /var/tmp/.X11-unix/X0"
+	    log_and_do_command  "sudo rm $MNT_POINT/mmorphix/tmp -R		2>/dev/null"
+	    log_and_do_command  "sudo umount $MNT_POINT				2>/dev/null"
 	  fi
 	  exit 0 ;;
 	1) $1 ;;
@@ -560,13 +561,12 @@
 	xdialog_message "$MESSAGE_MINIMORPH_1"
 	xdialog_tail_box "$MESSAGE_MINIMORPH_2" "/usr/share/morphing-morphix/MorphixMini-Launch-MM-GUI.xml"
 	xdialog_message "$MESSAGE_MINIMORPH_3"
-	log_and_do_command_progress "sudo morphmini /usr/share/morphing-morphix/MorphixMini-Launch-MM-GUI.xml \
-		$MNT_POINT/mmorphix/morphed/MorphixMini-Launch-MM-GUI.mod"
-	log_and_do_command_progress "sudo isomorph --add mini \ 
-		$MNT_POINT/mmorphix/morphed/MorphixMini-Launch-MM-GUI.mod \ 
-		$MNT_POINT/mmorphix/iso/$SETTING_MYMORPH $MNT_POINT/mmorphix/iso/tmp.iso "
-	log_and_do_command "mv -f $MNT_POINT/mmorphix/iso/tmp.iso \ 
-		$MNT_POINT/mmorphix/iso/$SETTING_MYMORPH"
+	log_and_do_command_progress "sudo morphmini /usr/share/morphing-morphix/MorphixMini-Launch-MM-GUI.xml 
+		/tmp/MorphixMini-Launch-MM-GUI.mod"
+	log_and_do_command_progress "sudo isomorph --add mini  
+		/tmp/MorphixMini-Launch-MM-GUI.mod  
+		$MNT_POINT/mmorphix/iso/$SETTING_MYMORPH /tmp/tmp.iso"
+	log_and_do_command "mv -f /tmp/tmp.iso $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH"
  fi
  main_menu
 }
@@ -710,4 +710,4 @@
 
 get_global_variables
 get_messages
-main_menu 
\ No newline at end of file
+main_menu 


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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV