summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-09-19 23:58:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-09-19 23:58:21 (GMT)
commitae5fc8a102437e1671eb2d4a53a3c999cf1e1339 (patch)
tree801545fc71b20e475b0c773f9cd52ef6f2638664
parenta7be8e2becb3e888056f2d01248d589af827bb27 (diff)
downloadlinhes_pkgbuild-ae5fc8a102437e1671eb2d4a53a3c999cf1e1339.zip
linhes_pkgbuild-ae5fc8a102437e1671eb2d4a53a3c999cf1e1339.tar.gz
linhes_pkgbuild-ae5fc8a102437e1671eb2d4a53a3c999cf1e1339.tar.bz2
LinHES-timezone: fix parsing to guess location. refs #778
-rw-r--r--abs/core/LinHES-timezone/PKGBUILD5
-rw-r--r--abs/core/LinHES-timezone/linhes_timezone.c2
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 \"^--$\"";
}