Skip to content

Commit

Permalink
install OH2 if clonebranch==stable
Browse files Browse the repository at this point in the history
Fixes: #1594

Signed-off-by: Markus Storm <markus.storm@gmx.net>
  • Loading branch information
mstormi authored Oct 3, 2021
1 parent 4802d05 commit e3656d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openhabian-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ if [[ -n "$UNATTENDED" ]]; then
add_admin_ssh_key
firemotd_setup
java_install_or_update "${java_opt:-Zulu11-32}"
openhab_setup "openHAB3" "stable"
if [[ "${clonebranch}" == "stable" ]]; then
openhab_setup "openHAB2" "stable"
else
openhab_setup "openHAB3" "stable"
fi
import_openhab_config
openhab_shell_interfaces
vim_openhab_syntax
Expand Down

0 comments on commit e3656d7

Please sign in to comment.