Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Homeassistant: Use 2 lines instead of 1 line for config check. #218

Merged
merged 1 commit into from
Nov 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package/opt/hassbian/suites/homeassistant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ if [ "$FORCE" != "true" ]; then
EOF
)
config_check_lines=$(echo "$config_check" | wc -l)
if (( config_check_lines > 1 ));then
if (( config_check_lines > 2 ));then
if [ "$ACCEPT" != "true" ]; then
echo -n "Config check failed for new version, do you want to revert? [Y/n] : "
read -r RESPONSE
Expand Down