index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/mysql-functions | 4 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 532c283..20471e9 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -968,8 +968,8 @@ mysql_package_name_query() { printf '`%s`.`pkgname`,"-",' "${bp_name}" printf 'IF(`%s`.`epoch`=0,"",CONCAT(`%s`.`epoch`,":")),' "${bp_name}" "${bp_name}" printf '`%s`.`pkgver`,"-",' "${bp_name}" - printf '`%s`.`pkgrel`,".",' "${bp_name}" - printf '`%s`.`sub_pkgrel`,"-",' "${bp_name}" + printf '`%s`.`pkgrel`,' "${bp_name}" + printf 'IF(`%s`.`sub_pkgrel_omitted`,"",CONCAT(".",`%s`.`sub_pkgrel`,"-")),' "${bp_name}" "${bp_name}" printf '`%s`.`name`,".pkg.tar.xz"' "${a_name}" printf ')' } |