Ensure esphome directory exists on addon startup (#5464)
This commit is contained in:
1 parent
2513ede3ec
commit
589b9e10b2
1 file changed
+2
@@ -41,6 +41,8 @@ fi
|
||||
|
||||
mkdir -p "${pio_cache_base}"
|
||||
|
||||
mkdir -p /config/esphome
|
||||
|
||||
if bashio::fs.directory_exists '/config/esphome/.esphome'; then
|
||||
bashio::log.info "Migrating old .esphome directory..."
|
||||
if bashio::fs.file_exists '/config/esphome/.esphome/esphome.json'; then
|
||||
|
||||
Reference in new issue
Block a user