From ae5fc8a102437e1671eb2d4a53a3c999cf1e1339 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 19 Sep 2011 18:58:21 -0500
Subject: LinHES-timezone: fix parsing to guess location. refs #778

---
 abs/core/LinHES-timezone/PKGBUILD          | 5 +++--
 abs/core/LinHES-timezone/linhes_timezone.c | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/abs/core/LinHES-timezone/PKGBUILD b/abs/core/LinHES-timezone/PKGBUILD
index e819965..05a48fc 100644
--- a/abs/core/LinHES-timezone/PKGBUILD
+++ b/abs/core/LinHES-timezone/PKGBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Greg Frost <gregfrost1@bigpond.com>
 pkgname=LinHES-timezone
 pkgver=1
-pkgrel=9
+pkgrel=10
 pkgdesc="GUI timezone selector used by LinHES-config."
 arch=i686
 depends=()
@@ -26,4 +26,5 @@ md5sums=('53976e51e938c555f84b43c933339051'
          '0710658b3b46cc659f56260c03b904ed'
          '0d9e51af5f650dd329edce4531c42a58'
          'c01e2335603d8395004e32bae9060fde'
-         'b20bd68272644f607fbfe7d50e7be42a')
+         'b20bd68272644f607fbfe7d50e7be42a'
+         '96e8dd40e3b7c9f5ba2423dc4243758b')
diff --git a/abs/core/LinHES-timezone/linhes_timezone.c b/abs/core/LinHES-timezone/linhes_timezone.c
index d7a56d2..1cf04b2 100644
--- a/abs/core/LinHES-timezone/linhes_timezone.c
+++ b/abs/core/LinHES-timezone/linhes_timezone.c
@@ -641,7 +641,7 @@ void *timezone_guess (void *unused)
   {
     timezone_info_command = 
       "wget http://www.geobytes.com/IpLocator.htm -O - 2> /dev/null |"
-      "grep \"^ <td \" |"
+      "grep \"<td \" |"
       "grep -i -E -A1 \"Latitude|Longitude|TimeZone\" | grep -v \"^--$\"";
   }
 
-- 
cgit v0.12

