Permalink
Browse files

[gtk2-ubuntu] Update version comparison script

  • Loading branch information...
1 parent 072bed3 commit 610d9a3829097cc980af8818522c38d189623cbe @chenxiaolong committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gtk2-ubuntu/compare_versions.sh
View
2 gtk2-ubuntu/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/gtk+2.0' -O - | sed -n 's/.*>gtk+2.0_\(.*\)-\(.*\)\.debian\.tar\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/gtk+2.0' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest Arch Linux version..."
ARCHLINUX_VER=($(wget -q 'https://www.archlinux.org/packages/extra/x86_64/gtk2/' -O - | sed -n '/<title>/ s/^.*gtk2\ \(.*\)-\(.*\)\ (.*$/\1 \2/p'))

0 comments on commit 610d9a3

Please sign in to comment.