aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fidd.php7
-rw-r--r--lib/FIDD.php11
2 files changed, 14 insertions, 4 deletions
diff --git a/fidd.php b/fidd.php
index a702f87..b8b0b7b 100644
--- a/fidd.php
+++ b/fidd.php
@@ -13,9 +13,10 @@
// params
-$prefix = 'mageia5-alpha1';
-$bcd_path = 'mageia5-alpha1';
-$bcd_url = 'rsync://isoqa@bcd.mageia.org/isos/%s/';
+$prefix = 'cauldron';
+$bcd_path = 'cauldron';
+#$bcd_url = 'rsync://isoqa@bcd.mageia.org/isos/%s/';
+$bcd_url = 'rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/iso/%s/';
// don't touch below
diff --git a/lib/FIDD.php b/lib/FIDD.php
index 524aa0c..d2a1e5e 100644
--- a/lib/FIDD.php
+++ b/lib/FIDD.php
@@ -146,8 +146,17 @@ class FIDD
$key = str_replace('.iso.md5', '.iso', basename($f));
$data['file'] = $key;
$data['md5'] = self::get_checksum_value($f);
+ $md5gpg = str_replace('.iso.md5', '.md5.gpg', basename($f));
+ $data['md5.gpg'] = $md5gpg;
+
break;
- case 'sha1': $data['sha1'] = self::get_checksum_value($f); break;
+ case 'sha1':
+ $data['sha1'] = self::get_checksum_value($f);
+ $sha1gpg = str_replace('.iso.sha1', '.sha1.gpg', basename($f));
+ $data['sha1.gpg'] = $sha1gpg;
+
+ break;
+ case 'sha512': $data['sha512'] = self::get_checksum_value($f); break;
case 'langs': $data['langs'] = implode(', ', explode("\n", trim(file_get_contents($f)))); break;
}
}