Skip to content

Commit

Permalink
Fix rtorrent remove
Browse files Browse the repository at this point in the history
  • Loading branch information
stickz committed May 30, 2023
1 parent f1b7959 commit 16e60b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/remove/rtorrent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ for u in ${users}; do
rm -f /home/${u}/.rtorrent.rc
done

# We need to run our own script to ensure xmlrpc and libtorrent is removed properly. We can't relay on apt remove.
. /etc/swizzin/sources/functions/rtorrent
isdeb=$(dpkg -l | grep rtorrent)
echo_progress_start "Removing old rTorrent binaries and libraries ... "
if [[ -z $isdeb ]]; then
remove_rtorrent_legacy
else
if [[ -n $isdeb ]]; then
remove_rtorrent
fi
remove_rtorrent_legacy
echo_progress_done

for a in rutorrent flood; do
Expand Down

0 comments on commit 16e60b5

Please sign in to comment.