Skip to content
Snippets Groups Projects
Commit 7aac293d authored by BlackEagle's avatar BlackEagle Committed by Pierre Schmitz
Browse files

get_full_version :: remove duplicated epoch check

parent 6db31cc1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment