[Frugalware-git] xorg73: xorg.sh: up2date fix

VMiklos vmiklos at frugalware.org
Sat Sep 8 21:17:50 CEST 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg73.git;a=commitdiff;h=3fa8061a66dfbf4973a7824c394fc97e13b9a59b

commit 3fa8061a66dfbf4973a7824c394fc97e13b9a59b
Author: VMiklos <vmiklos at frugalware.org>
Date:   Sat Sep 8 21:17:34 2007 +0200

xorg.sh: up2date fix
a simple sort will say 1.1 > 1.1.1, so we need to use dates

diff --git a/source/include/xorg.sh b/source/include/xorg.sh
index 80145b7..0708c7b 100644
--- a/source/include/xorg.sh
+++ b/source/include/xorg.sh
@@ -71,7 +71,7 @@ _F_xorg_version="X11R7."
[ "$_F_xorg_name" = "xorg-server" ] && _F_xorg_dir="xserver"
_F_xorg_url="$url/releases/$_F_xorg_release_dir/$_F_xorg_dir/"
license="GPL2"
-up2date="lynx -dump $_F_xorg_url | grep '$_F_xorg_name-\(.*\).tar.bz2'|sed -n 's/.*$_F_xorg_name-\(.*\)\.t.*/\1/;$ p'"
+up2date="lynx -dump '$_F_xorg_url/?C=M;O=A' | grep '$_F_xorg_name-\(.*\).tar.bz2'|sed -n 's/.*$_F_xorg_name-\(.*\)\.t.*/\1/;$ p'"
source=($_F_xorg_url/$_F_xorg_name-$pkgver.tar.bz2)
if [ -z "$_F_cd_path" ]; then
_F_cd_path="$_F_xorg_name-$pkgver"


More information about the Frugalware-git mailing list