summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 329e2e3..3853089 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -137,8 +137,8 @@ remove_old_package_versions() {
printf 'CONCAT('
printf 'IF(`d_bp`.`epoch`=0,"",CONCAT(`d_bp`.`epoch`,":")),'
printf '`d_bp`.`pkgver`,"-",'
- printf '`d_bp`.`pkgrel`,".",'
- printf '`d_bp`.`sub_pkgrel`'
+ printf '`d_bp`.`pkgrel`,'
+ printf 'IF(`d_bp`.`sub_pkgrel_omitted`,"",CONCAT(".",`d_bp`.`sub_pkgrel`))'
printf '),'
printf 'IF(`d_r`.`id`=`o_r`.`id`,1,0),'
printf '`d_ra`.`name`,'