mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02:00
Update 99-run.sh
This commit is contained in:
@@ -52,7 +52,7 @@ fi
|
|||||||
# Check if database is here or create symlink
|
# Check if database is here or create symlink
|
||||||
if [ -f $DATABASESOURCE ]; then
|
if [ -f $DATABASESOURCE ]; then
|
||||||
# Create symlink if not existing yet
|
# Create symlink if not existing yet
|
||||||
[ ! -L /data/enedisgateway.db ] && ln -sf ${DATABASESOURCE} /data
|
[ ! -L /data/enedisgateway.db ] && ln -sf ${DATABASESOURCE} /data && echo "creating symlink"
|
||||||
bashio::log.info "Using database file found in $DATABASESOURCE"
|
bashio::log.info "Using database file found in $DATABASESOURCE"
|
||||||
else
|
else
|
||||||
# Create symlink for addon to create database
|
# Create symlink for addon to create database
|
||||||
|
|||||||
Reference in New Issue
Block a user