Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[ubuntu-sounds] Use new version comparison script

  • Loading branch information...
commit 0db42e033817859a0da8d843528325930341f906 1 parent 62eaf95
Xiao-Long Chen authored January 08, 2013

Showing 1 changed file with 2 additions and 6 deletions. Show diff stats Hide diff stats

  1. 8  ubuntu-sounds/compare_versions.sh
8  ubuntu-sounds/compare_versions.sh
... ...
@@ -1,12 +1,8 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 source "$(dirname ${0})/PKGBUILD"
4  
-
5  
-echo "Getting latest Ubuntu version..."
6  
-UBUNTU_VER=($(wget -q 'http://packages.ubuntu.com/quantal/source/ubuntu-sounds' -O - | sed -n 's/.*>ubuntu-sounds_\(.*\)\.tar\.gz<.*/\1/p'))
7  
-
8  
-echo ""
  4
+source "$(dirname ${0})/../version_checker.sh"
9 5
 
10 6
 echo -e "PKGBUILD version: ${pkgver}"
11 7
 echo -e "Upstream version: (none)"
12  
-echo -e "Ubuntu version:   ${UBUNTU_VER[@]}"
  8
+echo -e "Ubuntu version:   $(get_ubuntu_version ${pkgname} ${1:-raring} native)"

0 notes on commit 0db42e0

Please sign in to comment.
Something went wrong with that request. Please try again.