We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 015f13a commit 9fd3f13Copy full SHA for 9fd3f13
airsonos/rootfs/etc/s6-overlay/s6-rc.d/init-airsonos/run
@@ -8,7 +8,7 @@ declare latency
8
9
# Migrate add-on data from the Home Assistant config folder,
10
# to the add-on configuration folder.
11
-if ! bashio::fs.directory_exists '/config/airsonos.xml' \
+if ! bashio::fs.file_exists '/config/airsonos.xml' \
12
&& bashio::fs.file_exists '/homeassistant/airsonos.xml'; then
13
mv /homeassistant/airsonos.xml /config/airsonos.xml \
14
|| bashio::exit.nok "Failed to migrate AirSonos configuration"
0 commit comments