mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
wp-fdroid: show GPG Signature link for source tarballs
Now that source tarballs can be GPG-signed, the website should also display a link to fetch them.
This commit is contained in:
parent
56d51fcd6b
commit
fb0c824d3c
1 changed files with 3 additions and 0 deletions
|
|
@ -515,6 +515,9 @@ class FDroid
|
|||
if($srcbuild) {
|
||||
$out.='<br /><a href="https://f-droid.org/repo/'.$apk['srcname'].'">source tarball</a> ';
|
||||
$out.=$this->human_readable_size(filesize($this->site_path.'/repo/'.$apk['srcname']));
|
||||
if(file_exists($this->site_path.'/repo/'.$apk['srcname'].'.asc')) {
|
||||
$out.=' <a href="https://f-droid.org/repo/'.$apk['srcname'].'.asc">GPG Signature</a> ';
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($apk['permissions'])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue