File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function update_script() {
3131 touch /opt/${APP} _version.txt
3232 mkdir -p $HOME /.config/qBittorrent/
3333 mkdir -p /opt/qbittorrent/
34- mv /.config/qBittorrent $HOME /.config/
34+ [ -d " /.config/qBittorrent " ] && mv /.config/qBittorrent " $HOME /.config/"
3535 $STD apt-get remove --purge -y qbittorrent-nox
3636 sed -i ' s@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service
3737 systemctl daemon-reload
@@ -67,4 +67,4 @@ description
6767msg_ok " Completed Successfully!\n"
6868echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
6969echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
70- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :8090${CL} "
70+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :8090${CL} "
You can’t perform that action at this time.
0 commit comments