Skip to content

Commit 4001479

Browse files
authored
Linux (qBittorrent v3)
Fixed verifications on installed complete
1 parent fef6351 commit 4001479

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Linux/qBittorrent/install

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,15 @@ else
1818
cp "torrent.sh" "/home/$USER/snap/qbittorrent-arnatious/83/.local/share/qBittorrent/BiltuDas1"
1919
rm -r "/home/$USER/snap/qbittorrent-arnatious/83/.local/share/qBittorrent/BT_backup"
2020
fi
21-
notify-send 'The Private Torrent' 'Private torrent has been intregrated into your qBittorrent'
21+
if [[ -f "/home/$USER/.config/qBittorrent/qBittorrent.conf" && -f "/home/$USER/.local/share/qBittorrent/BiltuDas1/torrent.sh" ]]
22+
then
23+
notify-send 'The Private Torrent' 'Private torrent has been intregrated into your qBittorrent'
24+
else
25+
if [[ -f "/home/$USER/snap/qbittorrent-arnatious/83/.config/qBittorrent/qBittorrent.conf" && -f "/home/$USER/snap/qbittorrent-arnatious/83/.local/share/qBittorrent/BiltuDas1/torrent.sh" ]]
26+
then
27+
notify-send 'The Private Torrent' 'Private torrent has been intregrated into your qBittorrent'
28+
else
29+
exit
30+
fi
31+
fi
32+

0 commit comments

Comments
 (0)