SOURCES: poldek-dont-ask-for-suggests-on-errors.patch (NEW) - new patch

patrys patrys at pld-linux.org
Thu Nov 20 16:11:25 CET 2008


Author: patrys                       Date: Thu Nov 20 15:11:25 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new patch

---- Files affected:
SOURCES:
   poldek-dont-ask-for-suggests-on-errors.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/poldek-dont-ask-for-suggests-on-errors.patch
diff -u /dev/null SOURCES/poldek-dont-ask-for-suggests-on-errors.patch:1.1
--- /dev/null	Thu Nov 20 16:11:26 2008
+++ SOURCES/poldek-dont-ask-for-suggests-on-errors.patch	Thu Nov 20 16:11:20 2008
@@ -0,0 +1,12 @@
+--- install3/requirements.c~	2008-11-20 13:23:07.000000000 +0100
++++ install3/requirements.c	2008-11-20 13:35:39.909464403 +0100
+@@ -613,7 +613,8 @@
+         }
+     }
+     
+-    if (!autochoice && !i3_is_user_choosable_equiv(ictx->ts))
++    /* if we have errors already, don't bug the user with more questions */
++    if ((!autochoice && !i3_is_user_choosable_equiv(ictx->ts)) || i3_get_nerrors(ictx, I3ERR_CLASS_DEP|I3ERR_CLASS_CNFL))
+         return NULL;
+ 
+     tracef(indent, "%s", pkg_id(pkg));
================================================================


More information about the pld-cvs-commit mailing list