work on the seeder script

This commit is contained in:
idk
2020-10-11 19:08:45 -04:00
parent c8967bc619
commit 4ced6831dc
7 changed files with 10 additions and 6 deletions

View File

@ -22,10 +22,12 @@ seed: index curl upload
curl:
@echo "#! /usr/bin/env bash" | tee curl.sh
@echo "rm -rfv ~/.i2p/i2psnark/idk.i2p ~/.i2p/i2psnark/idk.i2p.torrent ~/.i2p/i2psnark/idk.i2p.zip" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.torrent https://eyedeekay.github.io/idk.i2p.torrent" | tee -a curl.sh
@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/archive/master.zip" | tee -a curl.sh
#@echo "wget -O ~/.i2p/i2psnark/idk.i2p.zip https://github.com/eyedeekay/eyedeekay.github.io/releases/download/`torrent2magnet idk.i2p.torrent | sed 's|magnet:?xt=urn:btih:||g'`.magnet/idk.i2p.zip" | tee -a curl.sh
@echo "unzip -j ~/.i2p/i2psnark/idk.i2p.zip -d ~/.i2p/i2psnark/idk.i2p" | tee -a curl.sh
@echo "unzip ~/.i2p/i2psnark/idk.i2p.zip -d ~/.i2p/i2psnark/" | tee -a curl.sh
@echo "mv ~/.i2p/i2psnark/eyedeekay.github.io-master ~/.i2p/i2psnark/idk.i2p" | tee -a curl.sh
zip -r idk.i2p.zip idk.i2p
upload: upload-release upload-torrent upload-zip