Skip to content

Commit

Permalink
[compiz-ubuntu] Use new version comparison script
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao-Long Chen committed Jan 7, 2013
1 parent c2ed5c0 commit bf160bd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions compiz-ubuntu/compare_versions.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#!/usr/bin/env bash

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

echo "Getting latest Ubuntu version..."
UBUNTU_VER=($(wget -q -O - 'https://launchpad.net/ubuntu/raring/+source/compiz' | sed -n 's/^.*current\ release\ (\(.*\)-\(.*\)).*$/\1 \2/p'))

echo ""
source "$(dirname ${0})/../version_checker.sh"

echo -e "PKGBUILD version: ${_actual_ver}+bzr${_bzr_rev} ${_ubuntu_rel}"
echo -e "Upstream version: (none)"
echo -e "Ubuntu version: ${UBUNTU_VER[@]}"
echo -e "Upstream version: $(get_launchpad_version compiz)"
echo -e "Ubuntu version: $(get_ubuntu_version compiz raring)"

0 comments on commit bf160bd

Please sign in to comment.