Skip to content

Commit f9155a7

Browse files
committed
fix webseed dirs and allow redirect set and forget
1 parent dd62ac6 commit f9155a7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

create_monero_torrent.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ gpg --import "$OUTPUT_DIR/binaryfate.asc"
1717
gpg --verify "$OUTPUT_DIR/hashes.txt"
1818

1919
version=$(awk '/monero-source-v/ {print $2}' "$OUTPUT_DIR/hashes.txt" | awk -F".tar.bz2" '{print $1}' | awk -F"-" '{print $3}')
20-
torrent="Monero-project-torrent-$version"
20+
torrent="monero-project-torrent"
21+
torrent_comment="Multi file torrent for the Monero project $version"
2122

2223
mkdir -p "$OUTPUT_DIR/$torrent"
2324

@@ -61,4 +62,4 @@ cd ../..
6162

6263
#transmission-show "$TORRENT_DIR/$torrent.torrent"
6364

64-
py3createtorrent -p 512 -o watch/ -c "Multi file torrent for the Monero project" --webseed https://dlsrc.getmonero.org/ -v $OUTPUT_DIR/$torrent
65+
py3createtorrent -p 512 -o watch/ -c "$torrent_comment" --webseed https://dlsrc.getmonero.org/ -v $OUTPUT_DIR/$torrent

0 commit comments

Comments
 (0)