From 12da94c924cb29dd83c4bbf6fd50d1d1fc660312 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Jun 2013 15:12:59 -0600 Subject: use common.sh:get_full_version() universally --- src/fullpkg/fullpkg-build | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/fullpkg/fullpkg-build') diff --git a/src/fullpkg/fullpkg-build b/src/fullpkg/fullpkg-build index cbaea91..20e8c88 100755 --- a/src/fullpkg/fullpkg-build +++ b/src/fullpkg/fullpkg-build @@ -25,18 +25,6 @@ list_pkgs() { } } -# return : full version spec, including epoch (if necessary), pkgver, pkgrel -# usage : get_fullver( ${epoch:-0}, $pkgver, $pkgrel ) -get_fullver() { - if [[ $1 -eq 0 ]]; then -# zero epoch case, don't include it in version - echo $2-$3 - else - echo $1:$2-$3 - fi - -} - ## Check all build_dir, fails if one PKGBUILD is nonfree check_nonfree() { find "$build_dir" -name PKGBUILD \ -- cgit v1.2.3-54-g00ecf