aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/dl.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-11-23 12:20:32 +0000
committerRomain d'Alverny <rda@mageia.org>2011-11-23 12:20:32 +0000
commit1159cdaa5e6cd4946b61a1d77553943865667fdf (patch)
treede8a2d083923271c2c258fc189433590f9bdfe1c /en/downloads/dl.php
parent1fff1c9f092c4f38b269728403baf42d89bfabdc (diff)
downloadwww-1159cdaa5e6cd4946b61a1d77553943865667fdf.tar
www-1159cdaa5e6cd4946b61a1d77553943865667fdf.tar.gz
www-1159cdaa5e6cd4946b61a1d77553943865667fdf.tar.bz2
www-1159cdaa5e6cd4946b61a1d77553943865667fdf.tar.xz
www-1159cdaa5e6cd4946b61a1d77553943865667fdf.zip
add checksum for Mageia 1 boot.iso (CCBUG 3411)
Diffstat (limited to 'en/downloads/dl.php')
-rw-r--r--en/downloads/dl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/downloads/dl.php b/en/downloads/dl.php
index 9827d46db..dde36197c 100644
--- a/en/downloads/dl.php
+++ b/en/downloads/dl.php
@@ -126,9 +126,9 @@ $dl2_mirror_alt = sprintf($_t['dl_mirror_loc'],
<p><?php echo $_t['signs_check_1']; ?></p>
<div id="check-signs">
<pre class="term">
-$ md5sum <?php echo basename($product_dl_link), "\n", $p['md5'], "\n"; ?>
+<?php if (isset($p['md5'])): ?>$ md5sum <?php echo basename($product_dl_link), "\n", $p['md5'], "\n"; endif; ?>
-$ sha1sum <?php echo basename($product_dl_link), "\n", $p['sha1'], "\n"; ?>
+<?php if (isset($p['sha1'])): ?>$ sha1sum <?php echo basename($product_dl_link), "\n", $p['sha1'], "\n"; endif; ?>
</pre>
<p><?php echo $_t['signs_check_2']; ?></p>
</div>