diff --git a/lib/util-publish.sh b/lib/util-publish.sh index 149134c..9e86854 100644 --- a/lib/util-publish.sh +++ b/lib/util-publish.sh @@ -20,7 +20,7 @@ make_torrent(){ if [[ -n $(find ${src_dir} -type f -name "*.iso") ]]; then for iso in $(ls ${src_dir}/*.iso); do - local seed=https://${host}/projects/${project}/storage/${profile}/${dist_release}/${iso##*/} + local seed=https://${host}/dl/${project}/${iso##*/} local mktorrent_args=(-c "${torrent_meta}" -p -l ${piece_size} -a ${tracker_url} -w ${seed}) ${verbose} && mktorrent_args+=(-v) msg2 "Creating (%s) ..." "${iso##*/}.torrent"