Permalink
Browse files

[dconf-qt] Update version comparison script

  • Loading branch information...
1 parent 962f76d commit 5fb827d341233b988bf551602d797b154794fc4a @chenxiaolong committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dconf-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/dconf-qt' -O - | sed -n 's/.*>dconf-qt_\(.*\)-\(.*\)\.debian\.tar\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/dconf-qt' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo ""

0 comments on commit 5fb827d

Please sign in to comment.