Browse Source

Qbit torrent path fix

pull/240/head
GilbN 4 years ago
committed by GitHub
parent
commit
b3984bc6be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      qbittorrent/root/etc/cont-init.d/98-themepark

4
qbittorrent/root/etc/cont-init.d/98-themepark

@ -7,7 +7,7 @@ echo '------------------------------'
APP_FILEPATH='/config/qBittorrent/qBittorrent.conf'
if [ "${TP_HOTIO}" = true ]; then
echo 'Changing to Hotio file path!'
APP_FILEPATH='/config/config/qBittorrent/qBittorrent.conf'
APP_FILEPATH='/config/config/qBittorrent.conf'
fi
if ! [[ -x "$(command -v svn)" ]]; then
echo '--------------------------'
@ -90,4 +90,4 @@ if ! grep -q "WebUI\\\RootFolder=/themepark" "${APP_FILEPATH}" || ! grep -q "We
echo '-------------------------------------------------------'
sed -i "s/WebUI\\\AlternativeUIEnabled=.*$/WebUI\\\AlternativeUIEnabled=true/g" "${APP_FILEPATH}";
sed -i "s/WebUI\\\RootFolder=.*$/WebUI\\\RootFolder=\/themepark/g" "${APP_FILEPATH}";
fi
fi

Loading…
Cancel
Save