Author: ks156
Date: 2009-03-11 16:09:55 +0100 (Wed, 11 Mar 2009)
New Revision: 3957

Modified:
   
software_suite_v2/tuxware/installers/unix/branches/refactoring/tux_software_updater.py
Log:
* Forgot to pass $PREFIX during a package installation


Modified: 
software_suite_v2/tuxware/installers/unix/branches/refactoring/tux_software_updater.py
===================================================================
--- 
software_suite_v2/tuxware/installers/unix/branches/refactoring/tux_software_updater.py
      2009-03-11 15:09:54 UTC (rev 3956)
+++ 
software_suite_v2/tuxware/installers/unix/branches/refactoring/tux_software_updater.py
      2009-03-11 15:09:55 UTC (rev 3957)
@@ -78,7 +78,7 @@
         # Ask if the user will proceed the update
         print ""
         print "New update available"
-        print "Total downloading size : %.2f Mb"% \
+        print "Total downloading size : %.2f MB"% \
                 float(float(totalSize) / (1048576.0))
         answer = raw_input("Proceed ? [y/n] : ")
         if answer.startswith("Y") or answer.startswith("y"):
@@ -124,9 +124,9 @@
             URLDownloadToFile(item['source'], "/tmp/tuxdroid_upd/%s"%filename)
             
             os.system("tar -xf /tmp/tuxdroid_upd/%s -C /tmp/tuxdroid_upd/ &&\
-                    cd /tmp/tuxdroid_upd/%s && /bin/bash install.sh %s &&\
+                    cd /tmp/tuxdroid_upd/%s && /bin/bash install.sh %s %s &&\
                     rm -rf /tmp/tuxdroid_upd/" \
-                    %(filename, filename.split("-")[0], dest))
+                    %(filename, filename.split("-")[0], dest, TUXDROID_PREFIX))
     print ''
     writeDb(data)
 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to