Permalink
Browse files

[indicator-application] Update version comparison script

  • Loading branch information...
1 parent fb03e1b commit ca10cb3e3cb6b281190e65b8817c0f4a129ac598 @chenxiaolong committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 indicator-application/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/indicator-application' -O - | sed -n 's/.*>indicator-application_\(.*\)-\(.*\)\.diff\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/indicator-application' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/indicator-application/+download' -O - | sed -n 's/.*indicator-application-\(.*\)\.tar\.gz.*/\1/p' | head -n 1)

0 comments on commit ca10cb3

Please sign in to comment.