Revert "[deployiso] adjust to osdn.net"

This reverts commit fdcd8183e5.
This commit is contained in:
Bernhard Landauer 2018-04-11 23:44:42 +02:00
parent fdcd8183e5
commit c87603c348
3 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ show_profile(){
prepare_transfer "$1"
info "Profile: [$1]"
msg2 "src_dir: ${src_dir}"
msg2 "target_dir: ${url}/${target_dir}/"
msg2 "target_dir: ${target_dir}"
}
display_settings(){

View file

@ -10,8 +10,8 @@
# GNU General Public License for more details.
connect(){
local storage="@storage.osdn.net:/storage/groups/m/ma/"
echo "${account}${storage}${project}"
local home="/home/frs/project"
echo "${account},${project}@frs.${host}:${home}/${project}"
}
gen_webseed(){
@ -27,7 +27,7 @@ make_torrent(){
if [[ -n $(find ${src_dir} -type f -name "*.iso") ]]; then
for iso in $(ls ${src_dir}/*.iso);do
local seed=${host}/projects/${project}/storage/${profile}/${iso##*/}
local seed=${host}/project/${project}/${target_dir}/${iso##*/}
local mktorrent_args=(-c "${torrent_meta}" -p -l ${piece_size} -a ${tracker_url} -w $(gen_webseed ${seed}))
${verbose} && mktorrent_args+=(-v)
msg2 "Creating (%s) ..." "${iso##*/}.torrent"

View file

@ -275,7 +275,7 @@ init_buildiso(){
init_deployiso(){
host="osdn.net"
host="sourceforge.net"
[[ -z ${project} ]] && project="[SetProject]"