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