Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[libindicator] Update version comparison script

  • Loading branch information...
commit 6e47882d3f551cef34fab2372a9aec73f7d2adea 1 parent 11e6fa0
@chenxiaolong authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libindicator/compare_versions.sh
View
2  libindicator/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/libindicator' -O - | sed -n 's/.*>libindicator_\(.*\)-\(.*\)\.diff\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/libindicator' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/libindicator/+download' -O - | sed -n 's/.*libindicator-\(.*\)\.tar\.gz.*/\1/p' | head -n 1)

0 comments on commit 6e47882

Please sign in to comment.
Something went wrong with that request. Please try again.