Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php16
1 files changed, 4 insertions, 12 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 2081bbc..83ea3bb 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -65,12 +65,8 @@ require_once BASE . "/lib/style.php";
"`binary_packages`.`pkgname`," .
"`sp_q`.`split_packages`," .
"`package_sources`.`pkgbase`," .
- "CONCAT(" .
- "IF(`binary_packages`.`epoch`=\"0\",\"\",CONCAT(`binary_packages`.`epoch`,\":\"))," .
- "`binary_packages`.`pkgver`,\"-\"," .
- "`binary_packages`.`pkgrel`,\".\"," .
- "`binary_packages`.`sub_pkgrel`" .
- ") AS `version`," .
+ mysql_query_package_version("binary_packages") .
+ " AS `version`," .
"`repositories`.`stability` AS `repo_stability`," .
"`repository_stabilities`.`name` AS `repo_stability_name`," .
"`repositories`.`name` AS `repo`," .
@@ -345,12 +341,8 @@ require_once BASE . "/lib/style.php";
"`repositories`.`is_on_master_mirror`," .
"`architectures`.`name` AS `arch`," .
"`r_a`.`name` AS `repo_arch`," .
- "CONCAT(" .
- "IF(`binary_packages`.`epoch`=\"0\",\"\",CONCAT(`binary_packages`.`epoch`,\":\"))," .
- "`binary_packages`.`pkgver`,\"-\"," .
- "`binary_packages`.`pkgrel`,\".\"," .
- "`binary_packages`.`sub_pkgrel`" .
- ") AS `version`" .
+ mysql_query_package_version("binary_packages") .
+ " AS `version`" .
" FROM `binary_packages` " .
mysql_join_binary_packages_architectures() .
mysql_join_binary_packages_binary_packages_in_repositories() .