mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-26 07:44:18 +00:00
docs(filebrowser_quantum): clarify migrateFrom comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3a94f3c188
commit
7638c594b0
1 file changed
+1
-1
@@ -98,7 +98,7 @@ bashio::log.info "... set server"
|
|||||||
yq e -i ".http.port = 8080" "$FILEBROWSER_CONFIG"
|
yq e -i ".http.port = 8080" "$FILEBROWSER_CONFIG"
|
||||||
yq e -i ".http.listen = \"0.0.0.0\"" "$FILEBROWSER_CONFIG"
|
yq e -i ".http.listen = \"0.0.0.0\"" "$FILEBROWSER_CONFIG"
|
||||||
yq e -i ".server.database = {\"path\": \"/config/database.sqlite\"}" "$FILEBROWSER_CONFIG"
|
yq e -i ".server.database = {\"path\": \"/config/database.sqlite\"}" "$FILEBROWSER_CONFIG"
|
||||||
# Import the 1.x BoltDB; upstream skips it once the SQLite file is populated
|
# Migrate the 1.x BoltDB on first start (done once; v2 keeps checking the file exists)
|
||||||
if [ -s /config/database.db ]; then
|
if [ -s /config/database.db ]; then
|
||||||
yq e -i ".server.database.migrateFrom = \"/config/database.db\"" "$FILEBROWSER_CONFIG"
|
yq e -i ".server.database.migrateFrom = \"/config/database.db\"" "$FILEBROWSER_CONFIG"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user