aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleuhmanu <leuhmanu@mageia.org>2026-03-19 18:54:05 +0100
committerleuhmanu <leuhmanu@mageia.org>2026-03-19 18:57:27 +0100
commit0ebbcdf6d7c38a20e72b535c45a74a1bab0792df (patch)
tree8d6551191d6245284af51a1f6f419e8819c093e2
parent967edb4bfcdedf6cbe8f2d25e9174baa134b6535 (diff)
downloadfidd-master.tar
fidd-master.tar.gz
fidd-master.tar.bz2
fidd-master.tar.xz
fidd-master.zip
fix to match directory tree of torrentHEADmaster
-rw-r--r--fidd.php2
-rw-r--r--lib/FIDD.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/fidd.php b/fidd.php
index 893d461..802d7cc 100644
--- a/fidd.php
+++ b/fidd.php
@@ -17,7 +17,7 @@ $prefix = '10';
$bcd_path = '10';
//$bcd_path = '9';
-$netinstall_rename = '10-alpha1';
+$netinstall_rename = '10-beta1';
//$bcd_url = 'rsync://isoqa@bcd.mageia.org/isos/%s/';
diff --git a/lib/FIDD.php b/lib/FIDD.php
index 7c421db..779cf1d 100644
--- a/lib/FIDD.php
+++ b/lib/FIDD.php
@@ -185,10 +185,10 @@ class FIDD
);
$torrentfile = str_replace('.iso', '.torrent', $data['file']);
$data['torrent'] = sprintf('%s/%s',
- $ret['release'] == '' ? sprintf('iso/%s/torrents', $ret['version']) : sprintf('iso/%s/torrents', $prefix),
+ $ret['release'] == '' ? sprintf('iso/%s/torrents', $ret['version']) : sprintf('iso/%s', $prefix),
$torrentfile
);
- $torrentfile = "var/tmp/torrents/".$torrentfile;
+ $torrentfile = "var/tmp/".$torrentfile;
$data['magnet'] = sprintf('%s&dn=%s&tr=%s',
magnet($torrentfile),
str_replace('.iso', '', $data['file']),