diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2014-07-10 18:53:08 +0200 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2014-07-10 18:53:08 +0200 |
commit | 7c5877e2293a4526ee7a05727db38bdb447a78cb (patch) | |
tree | db4621701b5f8f03cb872589dfa97d54ee955368 | |
parent | 9a48117e8c00a92152bb5188ff6ef4ed37f5d8da (diff) | |
download | fidd-7c5877e2293a4526ee7a05727db38bdb447a78cb.tar fidd-7c5877e2293a4526ee7a05727db38bdb447a78cb.tar.gz fidd-7c5877e2293a4526ee7a05727db38bdb447a78cb.tar.bz2 fidd-7c5877e2293a4526ee7a05727db38bdb447a78cb.tar.xz fidd-7c5877e2293a4526ee7a05727db38bdb447a78cb.zip |
Fix wrong path for cauldron torrents
bug introduced by myself with commit 9a48117e8c00a92152bb5188ff6ef4ed37f5d8da
-rw-r--r-- | fidd.php | 4 | ||||
-rw-r--r-- | lib/FIDD.php | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -13,8 +13,8 @@ // params -$prefix = 'Mageia-4'; -$bcd_path = 'mageia4-v2'; +$prefix = 'mageia5-alpha1'; +$bcd_path = 'mageia5-alpha1'; $bcd_url = 'rsync://isoqa@bcd.mageia.org/isos/%s/'; // don't touch below diff --git a/lib/FIDD.php b/lib/FIDD.php index f224796..524aa0c 100644 --- a/lib/FIDD.php +++ b/lib/FIDD.php @@ -158,7 +158,7 @@ class FIDD str_replace('.iso', '', $data['file']) ); $data['torrent'] = sprintf('%s/%s', - $ret['release'] == '' ? sprintf('iso/%s/torrents', $ret['version']) : 'iso/cauldron', + $ret['release'] == '' ? sprintf('iso/%s/torrents', $ret['version']) : 'iso/cauldron/torrents', str_replace('.iso', '.torrent', $data['file']) ); $data['name'] = str_replace(array('-', '.iso', 'i586', 'x86_64'), array(' ', '', '32bit', '64bit'), $data['file']); |