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

[ubuntu-sounds] Use new version comparison script

  • Loading branch information...
chenxiaolong committed Jan 8, 2013
1 parent 62eaf95 commit 0db42e033817859a0da8d843528325930341f906
Showing with 2 additions and 6 deletions.
  1. +2 −6 ubuntu-sounds/
@@ -1,12 +1,8 @@
#!/usr/bin/env bash
source "$(dirname ${0})/PKGBUILD"
-echo "Getting latest Ubuntu version..."
-UBUNTU_VER=($(wget -q '' -O - | sed -n 's/.*>ubuntu-sounds_\(.*\)\.tar\.gz<.*/\1/p'))
-echo ""
+source "$(dirname ${0})/../"
echo -e "PKGBUILD version: ${pkgver}"
echo -e "Upstream version: (none)"
-echo -e "Ubuntu version: ${UBUNTU_VER[@]}"
+echo -e "Ubuntu version: $(get_ubuntu_version ${pkgname} ${1:-raring} native)"

0 comments on commit 0db42e0

Please sign in to comment.