[aur-dev] [PATCH 2/4] Always use source_file_uri instead of pkgbuild_uri

Lukas Fleischer lfleischer at archlinux.org
Sun Feb 26 21:04:50 UTC 2017


The pkgbuild_uri option was replaced by source_file_uri in 9df1bd5 (Add
direct links to each source file, 2017-02-12). Change one remaining
reference to pkgbuild_uri accordingly.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/template/pkgbase_details.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php
index e368872..de55da0 100644
--- a/web/template/pkgbase_details.php
+++ b/web/template/pkgbase_details.php
@@ -1,6 +1,6 @@
 <?php
 
-$pkgbuild_uri = sprintf(config_get('options', 'pkgbuild_uri'), urlencode($row['Name']));
+$pkgbuild_uri = sprintf(config_get('options', 'source_file_uri'), 'PKGBUILD', urlencode($row['Name']));
 $log_uri = sprintf(config_get('options', 'log_uri'), urlencode($row['Name']));
 $snapshot_uri = sprintf(config_get('options', 'snapshot_uri'), urlencode($row['Name']));
 $git_clone_uri_anon = sprintf(config_get('options', 'git_clone_uri_anon'), htmlspecialchars($row['Name']));
-- 
2.12.0


More information about the aur-dev mailing list