Permalink
Browse files

[appmenu-gtk] Update version comparison script

  • Loading branch information...
1 parent cdffe3d commit 11e4db4ae31cf9ef4a60c0ec32d9171d2c0633cd @chenxiaolong committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 appmenu-gtk/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/appmenu-gtk' -O - | sed -n 's/.*>appmenu-gtk_\(.*\)-\(.*\)\.diff\.gz<.*/\1 \2/p'))
+UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/quantal/+source/appmenu-gtk' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/appmenu-gtk/+download' -O - | sed -n 's/.*appmenu-gtk-\(.*\)\.tar\.gz.*/\1/p' | head -n 1)

0 comments on commit 11e4db4

Please sign in to comment.