aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2014-07-10 18:53:08 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2014-07-10 18:53:08 +0200
commit7c5877e2293a4526ee7a05727db38bdb447a78cb (patch)
treedb4621701b5f8f03cb872589dfa97d54ee955368 /lib
parent9a48117e8c00a92152bb5188ff6ef4ed37f5d8da (diff)
downloadfidd-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
Diffstat (limited to 'lib')
-rw-r--r--lib/FIDD.php2
1 files changed, 1 insertions, 1 deletions
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']);