bootdisk/trunk/batch-installer/ui/ui-functions

hawk cvs at pld-linux.org
Sun Mar 19 22:05:15 CET 2006


Author: hawk
Date: Sun Mar 19 22:05:12 2006
New Revision: 7239

Modified:
   bootdisk/trunk/batch-installer/ui/ui-functions
Log:
- avoid loading parted if it is already loaded


Modified: bootdisk/trunk/batch-installer/ui/ui-functions
==============================================================================
--- bootdisk/trunk/batch-installer/ui/ui-functions	(original)
+++ bootdisk/trunk/batch-installer/ui/ui-functions	Sun Mar 19 22:05:12 2006
@@ -330,7 +330,11 @@
   fi
   
   echo ok > /tmp/load_parted_result
-  
+
+  if test -x /bin/parted ; then
+    return
+  fi
+
   # hmm, should load parted
   if installer-validate-source; then
       if installer-prep-source; then 


More information about the pld-cvs-commit mailing list