summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index e107124..7b2dec3 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -393,12 +393,7 @@ package_errors=$(
{
printf 'SELECT CONCAT('
printf '"expected: ",'
- printf '`binary_packages`.`pkgname`,"-",'
- printf 'if(`binary_packages`.`epoch`=0,"",CONCAT(`binary_packages`.`epoch`,":")),'
- printf '`binary_packages`.`pkgver`,"-",'
- printf '`binary_packages`.`pkgrel`,".",'
- printf '`binary_packages`.`sub_pkgrel`,"-",'
- printf '`architectures`.`name`,".pkg.tar.xz"'
+ mysql_package_name_query
printf ')'
printf ' FROM `binary_packages`'
printf ' JOIN `architectures` ON `architectures`.`id`=`binary_packages`.`architecture`'