index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-07 13:30:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-07 13:30:14 +0200 |
commit | 11f58822187efc9d1ecb53843cfe2627f271fac9 (patch) | |
tree | 434cd05c598cece01aa736915c56daf9765c54ea /lib/common-functions | |
parent | 97d5076300f3c56464bb3eabe426ceb2c9681e1c (diff) |
-rwxr-xr-x | lib/common-functions | 4 |
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`,' |