Signed-off-by: BlackEagle <[email protected]> --- lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/common.sh b/lib/common.sh
index 1009e90..c9ff1b8 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -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
--
1.8.5.5
