Unverified Commit 86faa7a6 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Improvements

parent eecec670
......@@ -819,7 +819,7 @@ for f in ${TEMP_DIR}/torrent-tmp/*.torrent; do
done
# remove old armbian torrents
while read i; do
[[ $i == *Armbian_* ]] && transmission-remote -n 'transmission:transmission' -t $(echo "$i" | awk '{print $1}';) --remove-and-delete
[[ $i == *Armbian_* || $i == *gcc-linaro-* || $i == *-ng-arm* ]] && transmission-remote -n 'transmission:transmission' -t $(echo "$i" | awk '{print $1}';) --remove-and-delete
done < ${TEMP_DIR}/torrent-tmp/active.torrents
# remove temporally files and direcotories
EOF
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment