Github bot : script beautyshied

This commit is contained in:
github-actions
2022-12-18 00:11:57 +00:00
parent 884c9c3c17
commit 81d942e798
3 changed files with 7 additions and 7 deletions

View File

@@ -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