Skip to content

Commit

Permalink
Fixed another incorrect check
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Nov 15, 2023
1 parent 386fe7c commit 486a6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appdaemon/rootfs/etc/s6-overlay/s6-rc.d/init-appdaemon/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Migrate add-on data from the Home Assistant config folder,
# to the add-on configuration folder.
if ! bashio::fs.directory_exists '/config/appdaemon.yaml' \
if ! bashio::fs.file_exists '/config/appdaemon.yaml' \
&& bashio::fs.file_exists '/homeassistant/appdaemon/appdaemon.yaml'; then
shopt -s dotglob
mv /homeassistant/appdaemon/* /config/ \
Expand Down

0 comments on commit 486a6f4

Please sign in to comment.