Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=94d4043c9883a2a12c7cf59774511c6ad6543665

commit 94d4043c9883a2a12c7cf59774511c6ad6543665
Author: James Buren <r...@frugalware.org>
Date:   Tue Oct 18 18:48:54 2011 -0500

fw32.sh
* fix up2date

diff --git a/source/include/fw32.sh b/source/include/fw32.sh
index 6e471ff..4628a59 100644
--- a/source/include/fw32.sh
+++ b/source/include/fw32.sh
@@ -42,7 +42,7 @@ _dir='/usr/lib/fw32-simple'
_fw32_up2date()
{
local _ver
-       _ver=$(curl -s "$_url/" | sed -n 
"s|.*$_F_fw32_name-\([^-]\+\)-\([^-]\+\)-.*|\1-\2|p")
+       _ver=$(curl -s "$_url/" | sed -n 
"s|^.*$_F_fw32_name-\([^-]\+\)-\([^-]\+\)-.*\$|\1-\2|p" | tail -n 1)
if [ "$_ver" == "$pkgver-$pkgrel" ]; then
echo $pkgver
else
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to