Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (10 sloc) 0.588 kb
#!/usr/bin/env bash
source "$(dirname ${0})/PKGBUILD"
echo "Getting latest Ubuntu version..."
UBUNTU_VER=($(wget -q 'http://packages.ubuntu.com/precise/source/unity-asset-pool' -O - | sed -n 's/.*>unity-asset-pool_\(.*\)-\(.*\)\.debian\.tar\.gz<.*/\1 \2/p'))
echo "Getting latest upstream version..."
UPSTREAM_VER=$(wget -q 'https://launchpad.net/unity-asset-pool/+download' -O - | sed -n 's/.*unity-asset-pool-\(.*\)\.tar\.gz.*/\1/p' | head -n 1)
echo ""
echo -e "PKGBUILD version: ${pkgver}"
echo -e "Upstream version: ${UPSTREAM_VER}"
echo -e "Ubuntu version: ${UBUNTU_VER[@]}"
Jump to Line
Something went wrong with that request. Please try again.