diff options
Diffstat (limited to 'en/downloads')
-rw-r--r-- | en/downloads/get/index.php | 4 |
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. --> |