-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hello,
I currently maintain Requestrr, a user reached out today and was using one of your old scripts to setup Requestrr. I noticed when looking over the script it is downloading and extracting the zip files form GitHub, I am going to stop uploading those version going forward and only providing tar.gz files.
Just wanted to reach out and make the suggestion to update your script. These are the lines I picked up to help :)
Line 37 in 68d18a3
| dlurl="https://github.com/thomst08/requestrr/releases/download/${version}/requestrr-linux-${arch}.zip" |
dlurl="https://github.com/thomst08/requestrr/releases/download/${version}/requestrr-linux-${arch}.tar.gz"
Line 40 in 68d18a3
| if ! curl "$dlurl" -L -o $HOME/.tmp/requestrr.zip >> "$log" 2>&1; then |
if ! curl "$dlurl" -L -o $HOME/.tmp/requestrr.tar.gz >> "$log" 2>&1; then
Lines 224 to 225 in 68d18a3
| unzip -q "$HOME/.tmp/requestrr.zip" -d $HOME/ >> ${log} 2>&1 | |
| rm -rf "$HOME/.tmp/requestrr.zip" |
tar -xzf "$HOME/.tmp/requestrr.tar.gz" -C $HOME/ >> ${log} 2>&1
rm -rf "$HOME/.tmp/requestrr.tar.gz"
Metadata
Metadata
Assignees
Labels
No labels