Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-mono-tools.git;a=commitdiff;h=fb783a8015ab39049fb7be10178293ce44c6969e

commit fb783a8015ab39049fb7be10178293ce44c6969e
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Aug 30 14:09:06 2010 +0000

*update check ignorepkg

diff --git a/frugal-mono-tools/Update.cs b/frugal-mono-tools/Update.cs
index 5cfe1ca..58ac823 100644
--- a/frugal-mono-tools/Update.cs
+++ b/frugal-mono-tools/Update.cs
@@ -97,6 +97,15 @@ namespace frugalmonotools
}
else
{
+                                       bool AddIt = true;
+                                       foreach (string pkgignore in 
MainClass.pacmanG2.ignorePkg)
+                                       {
+
+                                               
if(pkgignore==MainClass.pacmanG2.extractNamePackage(package.pkgname)) AddIt 
=false;
+                                               
if(MainClass.pacmanG2.extractNamePackage(pkgignore)==MainClass.pacmanG2.extractNamePackage(package.pkgname))
 AddIt =false;
+
+                                       }
+
//don't add the package if already in the list
//in case of user use some wip
bool findIt = false;
@@ -108,7 +117,7 @@ namespace frugalmonotools
break;
}
}
-                                       if(!findIt)
+                                       if((!findIt)&&(AddIt))
{
packageCheck pkgrepo = new packageCheck();
pkgrepo.packagename=package.pkgname;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to