mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Github bot : script beautyshied
This commit is contained in:
@@ -36,8 +36,8 @@ if [ -f /data/cache.db ] && [ ! -f "$DATABASESOURCE" ]; then
|
||||
fi
|
||||
|
||||
# If migration was not performed, enable migration
|
||||
if [ -f "$(dirname "${CONFIGSOURCE}")"/enedisgateway.db ]; then
|
||||
mv "$(dirname "${CONFIGSOURCE}")"/enedisgateway.db /data
|
||||
if [ -f "$(dirname "${CONFIGSOURCE}")"/enedisgateway.db ]; then
|
||||
mv "$(dirname "${CONFIGSOURCE}")"/enedisgateway.db /data
|
||||
fi
|
||||
|
||||
# Check if database is here or create symlink
|
||||
|
||||
Reference in New Issue
Block a user