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