Skip to content

Commit

Permalink
Updated the default installation of torrentpier on pre-release (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeAnSolovev authored Dec 10, 2024
1 parent 7031217 commit 2574282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deb.install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ EOF
sudo mkdir -p /tmp/torrentpier 2>&1 | sudo tee -a "$logsInst" > /dev/null

# Downloading TorrentPier
curl -s https://api.github.com/repos/torrentpier/torrentpier/releases | jq -r 'map(select(.prerelease == false)) | .[0].zipball_url' | xargs -n 1 curl -L -o /tmp/torrentpier/torrentpier.zip 2>&1 | sudo tee -a "$logsInst" > /dev/null
curl -s https://api.github.com/repos/torrentpier/torrentpier/releases | jq -r 'map(select(.prerelease == true)) | .[0].zipball_url' | xargs -n 1 curl -L -o /tmp/torrentpier/torrentpier.zip 2>&1 | sudo tee -a "$logsInst" > /dev/null
sudo unzip -o /tmp/torrentpier/torrentpier.zip -d /tmp/torrentpier 2>&1 | sudo tee -a "$logsInst" > /dev/null
sudo mv /tmp/torrentpier/torrentpier-torrentpier-* /var/www/torrentpier 2>&1 | sudo tee -a "$logsInst" > /dev/null

Expand Down

0 comments on commit 2574282

Please sign in to comment.