Skip to content
Browse files

[unity-asset-pool] Update version comparison script

  • Loading branch information...
1 parent 6a44cfd commit f2dbabd1b51589fd10e56241ca53aadd908a62a9 @chenxiaolong committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 unity-asset-pool/compare_versions.sh
View
2 unity-asset-pool/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/unity-asset-pool' -O - | sed -n 's/.*>unity-asset-pool_\(.*\)-\(.*\)\.debian\.tar\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/unity-asset-pool' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/unity-asset-pool/+download' -O - | sed -n 's/.*unity-asset-pool-\(.*\)\.tar\.gz.*/\1/p' | head -n 1)

0 comments on commit f2dbabd

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