Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=380487f1591f16f1d43475438284680e4a5894c2

commit 380487f1591f16f1d43475438284680e4a5894c2
Author: Oleg Finkelshteyn <[EMAIL PROTECTED]>
Date:   Thu Sep 25 00:20:48 2008 +0200

makepkg: make up2date message more descriptive

It really checks only for equality of the current upstream version and
the one in FrugalBuild, so for building a development wine package it
would print:

==> ERROR: Newer version available! (1.1.5 < 1.0)

Now it says

==> ERROR: Upstream version differs! (1.1.5 != 1.0)

Which makes more sense in my opinion.

diff --git a/scripts/makepkg b/scripts/makepkg
index 1f5acc0..d40a0ea 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1264,7 +1264,7 @@ if [ "$NOUP2DATE" = "0" ]; then
else
if [ "$pkgver" != "$up2date" ]; then
$ECHO "   FAILED" >&2
-                       error "Newer version available! ($pkgver < $up2date)"
+                       error "Upstream version differs! ($pkgver != $up2date)"
exit 1
else
$ECHO "   Passed" >&2
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to