From 2a1166493ff63cfc788dabab2f753179acf9adb5 Mon Sep 17 00:00:00 2001 From: poka Date: Sun, 22 Mar 2020 06:56:49 +0100 Subject: [PATCH] fix stuff --- install.sh | 3 +++ trans-ctl.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cb3889f..0f3304b 100755 --- a/install.sh +++ b/install.sh @@ -68,6 +68,9 @@ pip3() { iptubes() { [[ -z $(which pip3) ]] && pip3 /usr/bin/pip3 install $(curl -s https://raw.githubusercontent.com/Harkame/YggTorrentScraper/master/requirements.txt) + chgrp -R debian-transmission data/ + chmod -R g+w data/ + sudo service transmission-daemon restart } # Check installs diff --git a/trans-ctl.sh b/trans-ctl.sh index 0a29b91..d71b88a 100755 --- a/trans-ctl.sh +++ b/trans-ctl.sh @@ -54,7 +54,7 @@ checkdisk() { } downloading() { - result=$($transcmd --list | grep -E 'None|Downloading') + result=$($transcmd --list | grep -E 'Downloading') [[ $result ]] && echo "There is a torrent downloading" }