Skip to content

Commit

Permalink
Fix first-boot.bash logic (#1005)
Browse files Browse the repository at this point in the history
Fixes #1004

Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye authored Jun 28, 2020
1 parent fba0873 commit 4157102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-image/first-boot.bash
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ else
fi

# must not remove /opt/openhabian for offline to work
if [ -d /opt/openhabian ]; then git clone https://github.com/openhab/openhabian.git /opt/openhabian; fi
if ! [[ -d /opt/openhabian ]]; then git clone https://github.com/openhab/openhabian.git /opt/openhabian; fi
# shellcheck disable=SC2154
echo -n "$(timestamp) [openHABian] Cloning myself from ${repositoryurl}, ${clonebranch} branch... "
if ! openhabian_update; then
Expand Down

0 comments on commit 4157102

Please sign in to comment.