Skip to content

Commit

Permalink
Add another variant
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Mar 8, 2020
1 parent 8263b58 commit 78da41a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion static/install
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ elif [ -f "/config/home-assistant.log" ]; then

elif [ -f "$HOME/.homeassistant/home-assistant.log" ]; then
echo "Changing directory to $HOME/.homeassistant"
cd "$HOME"/.homeassistant || exit
cd "$HOME/.homeassistant" || exit

elif [ -f "$HOME/homeassistant/home-assistant.log" ]; then
echo "Changing directory to $HOME/homeassistant"
cd "$HOME/homeassistant" || exit

elif [ -f "/usr/share/hassio/homeassistant/home-assistant.log" ]; then
echo "Changing directory to /usr/share/hassio/homeassistant"
Expand Down

0 comments on commit 78da41a

Please sign in to comment.