mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 18:38:17 +01:00
Update 99-run.sh
This commit is contained in:
@@ -61,6 +61,7 @@ if [ -f "$DATABASESOURCE" ]; then
|
||||
bashio::log.info "Using database file found in $(dirname "${CONFIGSOURCE}")"
|
||||
else
|
||||
# Create symlink for addon to create database
|
||||
mkdir -p "$(dirname "$DATABASESOURCE")"
|
||||
touch "${DATABASESOURCE}"
|
||||
ln -sf "$DATABASESOURCE" /data
|
||||
rm "$DATABASESOURCE"
|
||||
|
||||
Reference in New Issue
Block a user