diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-09-19 23:58:21 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-09-19 23:58:21 (GMT) |
commit | ae5fc8a102437e1671eb2d4a53a3c999cf1e1339 (patch) | |
tree | 801545fc71b20e475b0c773f9cd52ef6f2638664 | |
parent | a7be8e2becb3e888056f2d01248d589af827bb27 (diff) | |
download | linhes_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/PKGBUILD | 5 | ||||
-rw-r--r-- | 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 \"^--$\""; } |