Skip to content

Commit

Permalink
Fixing lib for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ac1dburnz authored Jul 11, 2024
1 parent 269e521 commit 19a1645
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rtorrent-easyinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,12 @@ 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; }

else
echo "rtorrent repository already cloned. Updating..."
cd rtorrent || { echo "Directory rtorrent not found. Exiting..."; exit 1; }
git pull origin master || { echo "Failed to pull latest changes from rtorrent repository. Exiting..."; exit 1; }
fi
cd rtorrent || { echo "Directory rtorrent not found. Exiting..."; exit 1; }

# Print latest 3 tags
echo "Latest 3 tags:"
git tag | tail -n 3
Expand Down

0 comments on commit 19a1645

Please sign in to comment.