This commit is contained in:
Alexandre
2022-02-18 13:06:51 +01:00
parent ed9845962b
commit 3db34e34f2
12 changed files with 50 additions and 41 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# Define user
PUID=$(bashio::config "PUID")
@@ -27,5 +28,5 @@ echo "Creating $LOCATION"
mkdir -p "$LOCATION"
# Set ownership
bashio::log.info "Setting ownership to $PUID:$PGID"
bashio::log.info "Setting ownership to $PUID:$PGID"
chown "$PUID":"$PGID" "$LOCATION"