This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

[fixesproto-ubuntu] Update version comparison script

  • Loading branch information...
chenxiaolong committed Oct 24, 2012
1 parent ab358cb commit 3fd88c8d6260502bd7bbf2af306b4e4915db98cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 fixesproto-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/x11proto-fixes' -O - | sed -n 's/.*>x11proto-fixes_\(.*\)-\(.*\)\.diff\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/x11proto-fixes' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q http://xorg.freedesktop.org/releases/individual/proto/ -O - | sed -n 's/.*fixesproto-\(.*\).tar.bz2.*/\1/p' | tail -n 1)

0 comments on commit 3fd88c8

Please sign in to comment.