From 7c5877e2293a4526ee7a05727db38bdb447a78cb Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Thu, 10 Jul 2014 18:53:08 +0200 Subject: Fix wrong path for cauldron torrents bug introduced by myself with commit 9a48117e8c00a92152bb5188ff6ef4ed37f5d8da --- fidd.php | 4 ++-- lib/FIDD.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fidd.php b/fidd.php index 2a1a47e..a702f87 100644 --- a/fidd.php +++ b/fidd.php @@ -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']); -- cgit v1.2.1