[Frugalware-git] frugal-mono-tools: *fixes check force
bouleetbil
bouleetbil at frogdev.info
Mon Aug 30 19:10:20 CEST 2010
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-mono-tools.git;a=commitdiff;h=4e6d48f044883e9fea520bc5c8517f961f7fc5fb
commit 4e6d48f044883e9fea520bc5c8517f961f7fc5fb
Author: bouleetbil <bouleetbil at frogdev.info>
Date: Mon Aug 30 19:09:42 2010 +0000
*fixes check force
diff --git a/frugal-mono-tools/Update.cs b/frugal-mono-tools/Update.cs
index 372114b..0028433 100644
--- a/frugal-mono-tools/Update.cs
+++ b/frugal-mono-tools/Update.cs
@@ -49,7 +49,8 @@ namespace frugalmonotools
if(string.Compare(pkginstall.packageversion,pkg.packageversion)<0)
AddIt =true;
//check force read info only here for startup more quickly
- if (PacmanG2.ShouldPackageForce(pkg.packagename+"-"+pkg.packageversion,pkg.repo))
+ if ((PacmanG2.ShouldPackageForce(pkg.packagename+"-"+pkg.packageversion,pkg.repo)) &&
+ (pkginstall.packageversion!=pkg.packageversion))
AddIt=true;
if(AddIt)
{
More information about the Frugalware-git
mailing list