From 1262b50b718da8cc23f146a41d539d49a2a356df Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Fri, 27 Apr 2018 11:19:36 +0200 Subject: [PATCH] [util-publish] webseed use shorturl --- lib/util-publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"