GilbN
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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 |
|
|
|