mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-26 17:26:05 +02:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -57,7 +57,9 @@ if bashio::config.has_value 'SavePath'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Create default location
|
# Create default location
|
||||||
mkdir -p "$DOWNLOADS" || bashio::log.fatal "Error : folder defined in SavePath doesn't exist and can't be created. Check path"
|
if [ ! -d "$DOWNLOADS" ]; then
|
||||||
|
mkdir -p "$DOWNLOADS" || bashio::log.fatal "Error : folder defined in SavePath doesn't exist and can't be created. Check path"
|
||||||
|
fi
|
||||||
chown -R "$PUID:$PGID" "$DOWNLOADS" || bashio::log.fatal "Error, please check default save folder configuration in addon"
|
chown -R "$PUID:$PGID" "$DOWNLOADS" || bashio::log.fatal "Error, please check default save folder configuration in addon"
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user