get_full_version :: remove duplicated epoch check

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
BlackEagle 2014-02-16 09:56:00 +01:00 committed by Pierre Schmitz
parent 6db31cc16a
commit 7aac293d76
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ get_full_version() {
pkgbase=${pkgbase:-${pkgname[0]}}
epoch=${epoch:-0}
if [[ -z $1 ]]; then
if [[ $epoch ]] && (( ! $epoch )); then
if (( ! epoch )); then
echo $pkgver-$pkgrel
else
echo $epoch:$pkgver-$pkgrel