move rtorrent check

This commit is contained in:
Christian Rotzoll
2019-04-11 23:17:50 +01:00
parent 4e5d4f3199
commit 53a4683cd0

View File

@@ -8,10 +8,6 @@
## get basic info
source /home/admin/raspiblitz.info
# make sure rtorrent is available
sudo apt-get install rtorrent -y 1>/dev/null 2>/dev/null
# torrent files that are available
# in directory /home.admin/assets/
# WITHOUT THE '.torrent' ENDING
@@ -81,6 +77,9 @@ if [ "$1" == "backup-torrent-hosting-status" ]; then
exit
fi
# make sure rtorrent is available
sudo apt-get install rtorrent -y 1>/dev/null 2>/dev/null
# if setup was done - remove old data
if [ "${setupStep}" = "100" ] && [ ${#1} -eq 0 ]; then
echo "stopping servcies ..."