Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
[indicator-application] Update version comparison script
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao-Long Chen committed Oct 24, 2012
1 parent fb03e1b commit ca10cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indicator-application/compare_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca10cb3

Please sign in to comment.