mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-31 08:57:42 +01:00
10 lines
225 B
Bash
10 lines
225 B
Bash
#!/usr/bin/env bashio
|
|
|
|
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
|
|
|
# Create directory
|
|
mkdir -p "$(dirname "${CONFIGSOURCE}")"
|
|
|
|
# Make sure permissions are right
|
|
chown -R $(id -u):$(id -g) "$(dirname "${CONFIGSOURCE}")"
|