mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -57,7 +57,9 @@ if bashio::config.has_value 'SavePath'; then
|
||||
fi
|
||||
|
||||
# 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"
|
||||
|
||||
##############
|
||||
|
||||
Reference in New Issue
Block a user