mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 90-create_links.sh
This commit is contained in:
@@ -24,6 +24,9 @@ PUID="$(bashio::config 'PUID')"
|
||||
PGID="$(bashio::config 'PGID')"
|
||||
|
||||
if ! bashio::config.true "skip_permissions_check" && [ "${PUID:-0}" != "0" ] && [ "${PGID:-0}" != "0" ]; then
|
||||
bashio::log.info "Starting permissions update"
|
||||
chown -R "${PUID}:${PGID}" /share/plex
|
||||
chmod -R 777 /share/plex
|
||||
fi
|
||||
|
||||
bashio::log.info "Starting upstream code"
|
||||
|
||||
Reference in New Issue
Block a user