Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
[unity-singlet] Use new version comparison script
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao-Long Chen committed Jan 26, 2013
1 parent b8e71e1 commit 77a5ac0
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions unity-singlet/compare_versions.sh
@@ -1,15 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash


source "$(dirname ${0})/PKGBUILD" source "$(dirname ${0})/PKGBUILD"

source "$(dirname ${0})/../version_checker.sh"
echo "Getting latest Ubuntu version..."
UBUNTU_VER=($(wget -q 'http://packages.ubuntu.com/quantal/source/unity-singlet' -O - | sed -n 's/.*>unity-singlet_\(.*\)-\(.*\)\.diff\.gz<.*/\1 \2/p'))

echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/singlet/+download' -O - | sed -n 's/.*unity-singlet_\(.*\)\.tar\.gz.*/\1/p' | head -n 1)

echo ""


echo -e "PKGBUILD version: ${pkgver}" echo -e "PKGBUILD version: ${pkgver}"
echo -e "Upstream version: ${UPSTREAM_VER}" echo -e "Upstream version: $(get_launchpad_version singlet unity-singlet)"
echo -e "Ubuntu version: ${UBUNTU_VER[@]}" echo -e "Ubuntu version: $(get_ubuntu_version unity-singlet ${1:-raring})"

0 comments on commit 77a5ac0

Please sign in to comment.