mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Not symlink
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
||||
# Migrate database #
|
||||
####################
|
||||
|
||||
if [ -d /homeassistant/addons_config/calibre-web ]; then
|
||||
if [ -d /homeassistant/addons_config/calibre-web ] && [ ! -L /homeassistant/addons_config/calibre-web ]; then
|
||||
echo "Moving database to new location /config"
|
||||
cp -rf /homeassistant/addons_config/calibre-web/* /config/
|
||||
rm -r /homeassistant/addons_config/calibre-web
|
||||
|
||||
Reference in New Issue
Block a user