Update qBittorrent
This commit is contained in:
parent
36ea5e14a2
commit
a2b047b2b8
@ -30,6 +30,7 @@ function update_script() {
|
|||||||
if [[ ! -f /opt/${APP}_version.txt ]]; then
|
if [[ ! -f /opt/${APP}_version.txt ]]; then
|
||||||
touch /opt/${APP}_version.txt
|
touch /opt/${APP}_version.txt
|
||||||
mkdir -p $HOME/.config/qBittorrent/
|
mkdir -p $HOME/.config/qBittorrent/
|
||||||
|
mkdir -p /opt/qbittorrent/
|
||||||
mv /.config/qBittorrent $HOME/.config/
|
mv /.config/qBittorrent $HOME/.config/
|
||||||
$STD apt-get remove --purge -y qbittorrent-nox
|
$STD apt-get remove --purge -y qbittorrent-nox
|
||||||
sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service
|
sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user