mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-19 11:08:11 +01:00
Update 00-folders.sh
This commit is contained in:
@@ -17,8 +17,6 @@ change_folders () {
|
||||
ORIGINALLOCATION=$2
|
||||
TYPE=$3
|
||||
|
||||
if [ ! -d "$CONFIGLOCATION" ]; then
|
||||
|
||||
# Inform
|
||||
bashio::log.info "Setting $TYPE location to $CONFIGLOCATION"
|
||||
|
||||
@@ -39,10 +37,6 @@ change_folders () {
|
||||
# Set permissions
|
||||
echo "Setting ownership to $PUID:$PGID" && chown -R "$PUID":"$PGID" "$CONFIGLOCATION"
|
||||
|
||||
else
|
||||
bashio::log.nok "Your $TYPE $CONFIGLOCATION doesn't exists"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
|
||||
Reference in New Issue
Block a user