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 /lib/FIDD.php | |
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
Diffstat (limited to 'lib/FIDD.php')
-rw-r--r-- | lib/FIDD.php | 2 |
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']); |