Browse files

[sni-qt] Update version comparison script

  • Loading branch information...
1 parent 5fb827d commit 34026819fa0a0c14b955f82e6297b921eb07ac0e @chenxiaolong committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sni-qt/compare_versions.sh
View
2 sni-qt/compare_versions.sh
@@ -3,7 +3,7 @@
source "$(dirname ${0})/PKGBUILD"
echo "Getting latest Ubuntu version..."
-UBUNTU_VER=($(wget -q 'http://packages.ubuntu.com/quantal/source/sni-qt' -O - | sed -n 's/.*>sni-qt_\(.*\)-\(.*\)\.debian\.tar\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/sni-qt' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/sni-qt/+download' -O - | sed -n 's/.*sni-qt-\(.*\)\.tar\.bz2.*/\1/p' | head -n 1)

0 comments on commit 3402681

Please sign in to comment.