aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2016-03-27 00:37:07 +0100
committerManuel Hiebel <leuhmanu@mageia.org>2016-03-27 00:37:07 +0100
commitaceb3dc3e44f363d54f5840c54b5de1722378d3f (patch)
tree75e64ac036a7de840502861ed9a5ae4399c00320 /en
parentae16a13b3dc9efde6ed5447c2eefb7ce7af2d005 (diff)
downloadwww-aceb3dc3e44f363d54f5840c54b5de1722378d3f.tar
www-aceb3dc3e44f363d54f5840c54b5de1722378d3f.tar.gz
www-aceb3dc3e44f363d54f5840c54b5de1722378d3f.tar.bz2
www-aceb3dc3e44f363d54f5840c54b5de1722378d3f.tar.xz
www-aceb3dc3e44f363d54f5840c54b5de1722378d3f.zip
Show sha512 checksum
Diffstat (limited to 'en')
-rw-r--r--en/downloads/get/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index 0e07d7c6f..d9fd01b84 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -207,7 +207,7 @@ if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') {
<p><?php echo $dl2_mirror_alt; ?></p>
<?php
if (((isset($product['md5']) && strlen($product['md5']) > 0)
- || (isset($product['sha1'])) && strlen($product['sha1']) > 0)
+ || (isset($product['sha512'])) && strlen($product['sha512']) > 0)
&& !$torrent
): ?>
<p><?php _g('As soon as your download is complete, you should check that the checksums match:') ?></p>
@@ -216,6 +216,8 @@ if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') {
<?php if (strlen($product['md5'])): ?>$ md5sum <?php echo basename($download), "\n<strong>", $product['md5'], "</strong>\n"; endif; ?>
<?php if (strlen($product['sha1'])): ?>$ sha1sum <?php echo basename($download), "\n<strong>", $product['sha1'], "</strong>\n"; endif; ?>
+
+<?php if (strlen($product['sha512'])): ?>$ sha512sum <?php echo basename($download), "\n<strong>", $product['sha512'], "</strong>\n"; endif; ?>
</pre>
<p><?php _g('If checksums do not match, <strong>DO NOT use this ISO</strong>. Double-check and try to download again.'); ?></p>
<!-- TODO (rda): add direct download links to checksum and signature files as a backup. -->