mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 18:21:51 +02:00
Github bot : script beautyshied
This commit is contained in:
@@ -133,11 +133,11 @@ CUSTOMUI=$(bashio::config 'customUI')
|
|||||||
|
|
||||||
# Clean data if not custom
|
# Clean data if not custom
|
||||||
if [ ! "$CUSTOMUI" = custom ]; then
|
if [ ! "$CUSTOMUI" = custom ]; then
|
||||||
sed -i '/AlternativeUIEnabled/d' qBittorrent.conf
|
sed -i '/AlternativeUIEnabled/d' qBittorrent.conf
|
||||||
sed -i '/RootFolder/d' qBittorrent.conf
|
sed -i '/RootFolder/d' qBittorrent.conf
|
||||||
rm -f -r /webui
|
rm -f -r /webui
|
||||||
mkdir -p /webui
|
mkdir -p /webui
|
||||||
chown abc:abc /webui
|
chown abc:abc /webui
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install webui
|
# Install webui
|
||||||
|
|||||||
Reference in New Issue
Block a user