Revision: 2688
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2688&view=rev
Author:   owes
Date:     2009-04-09 21:10:55 +0000 (Thu, 09 Apr 2009)

Log Message:
-----------
parted must be present, no point to check if exist

Modified Paths:
--------------
    ipcop/trunk/src/installer/partition.c

Modified: ipcop/trunk/src/installer/partition.c
===================================================================
--- ipcop/trunk/src/installer/partition.c       2009-04-09 20:51:30 UTC (rev 
2687)
+++ ipcop/trunk/src/installer/partition.c       2009-04-09 21:10:55 UTC (rev 
2688)
@@ -219,16 +219,12 @@
     }
 
 
-    if (parted && (access("/usr/bin/parted", 0) == 0)) {
+    if (parted) {
         /* OK, user thinks he's smart enough to do by himself */
 
         newtWinMessage(ipcop_gettext("TR_TITLE_DISK"), ipcop_gettext("TR_OK"), 
"Do your thing with parted now!");
         return SUCCESS;
     }
-    else if (parted) {
-        newtWinMessage(ipcop_gettext("TR_TITLE_DISK"), ipcop_gettext("TR_OK"),
-                       "parted option choosen, but /usr/bin/parted is not 
present?\nWill revert to automatic partitioning now.");
-    }
 
     statuswindow(72, 5, ipcop_gettext("TR_TITLE_DISK"), 
ipcop_gettext("TR_MAKING_PARTITIONS"));
         /* disk-partition parameters


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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to