mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 01:48:16 +01:00
Update 99-run.sh
This commit is contained in:
@@ -46,8 +46,9 @@ echo "Setting permissions"
|
||||
if bashio::config.has_value 'PUID'; then
|
||||
chown -R "$(bashio::config 'PUID'):$(bashio::config 'PGID')" "$DATA_LOCATION"
|
||||
chown -R "$(bashio::config 'PUID'):$(bashio::config 'PGID')" /shared
|
||||
chmod -R 755 "$DATA_LOCATION"
|
||||
fi
|
||||
fi || true
|
||||
|
||||
chmod -R 755 "$DATA_LOCATION"
|
||||
|
||||
echo "Creating symlink"
|
||||
ln -sf "$DATA_LOCATION" /shared
|
||||
|
||||
Reference in New Issue
Block a user