Skip to content

Commit

Permalink
Update rtorrent-easyinstall.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ac1dburnz authored Jul 11, 2024
1 parent 19a1645 commit d443636
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rtorrent-easyinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ install_libtorrent() {
if [ ! -d "rtorrent" ]; then
echo "Cloning rtorrent repository..."
git clone https://github.com/stickz/rtorrent.git || { echo "Failed to clone rtorrent repository. Exiting..."; exit 1; }

cd rtorrent

else
echo "rtorrent repository already cloned. Updating..."
cd rtorrent || { echo "Directory rtorrent not found. Exiting..."; exit 1; }
Expand Down Expand Up @@ -140,6 +141,7 @@ install_rtorrent() {
if [ ! -d "rtorrent" ]; then
echo "Cloning rtorrent repository..."
git clone https://github.com/stickz/rtorrent.git || { echo "Failed to clone rtorrent repository. Exiting..."; exit 1; }
cd rtorrent
else
echo "rtorrent repository already cloned. Updating..."
cd rtorrent || { echo "Directory rtorrent not found. Exiting..."; exit 1; }
Expand Down

0 comments on commit d443636

Please sign in to comment.