From f5b3df8e4e9b04a7f06f1051fc1f90c3de443747 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Jun 2018 13:07:55 +0200 Subject: lib/mysql-functions: do not remove hyphen when sub_pkgrel is omitted --- lib/mysql-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mysql-functions') diff --git a/lib/mysql-functions b/lib/mysql-functions index 140f910..0de438f 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -969,7 +969,7 @@ mysql_package_name_query() { printf 'IF(`%s`.`epoch`=0,"",CONCAT(`%s`.`epoch`,":")),' "${bp_name}" "${bp_name}" printf '`%s`.`pkgver`,"-",' "${bp_name}" printf '`%s`.`pkgrel`,' "${bp_name}" - printf 'IF(`%s`.`sub_pkgrel_omitted`,"",CONCAT(".",`%s`.`sub_pkgrel`,"-")),' "${bp_name}" "${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 ')' } -- cgit v1.2.3-70-g09d2