Browse Source

Merge branch 'docker-mods' of https://github.com/gilbN/theme.park into docker-mods

pull/240/head
gilbN 4 years ago
parent
commit
36a2d12b7d
  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