Update qbittorrent-install.sh
This commit is contained in:
parent
1521aaafe7
commit
b71f3fa171
@ -24,7 +24,7 @@ msg_info "Setup qBittorrent-nox"
|
|||||||
FULLRELEASE=$(curl -s https://api.github.com/repos/userdocs/qbittorrent-nox-static/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
FULLRELEASE=$(curl -s https://api.github.com/repos/userdocs/qbittorrent-nox-static/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
RELEASE=$(echo $FULLRELEASE | cut -c 9-13)
|
RELEASE=$(echo $FULLRELEASE | cut -c 9-13)
|
||||||
mkdir -p /opt/qbittorrent
|
mkdir -p /opt/qbittorrent
|
||||||
curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULLRELEASE}/x86_64-qbittorrent-nox -o /opt/qbittorrent/qbittorrent-nox"
|
curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULLRELEASE}/x86_64-qbittorrent-nox" -o /opt/qbittorrent/qbittorrent-nox
|
||||||
chmod +x /opt/qbittorrent/qbittorrent-nox
|
chmod +x /opt/qbittorrent/qbittorrent-nox
|
||||||
mkdir -p $HOME/.config/qBittorrent/
|
mkdir -p $HOME/.config/qBittorrent/
|
||||||
cat <<EOF >$HOME/.config/qBittorrent/qBittorrent.conf
|
cat <<EOF >$HOME/.config/qBittorrent/qBittorrent.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user