Skip to content

Commit

Permalink
Fixed a bug in the install script
Browse files Browse the repository at this point in the history
Fixed a bug reported by pirower. Many thanks for reporting!
  • Loading branch information
JaapvanEkris authored Jan 15, 2024
1 parent b747b61 commit 265a459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if [[ $MODEL != Raspberry* ]]; then
fi

VERSION=$(grep -oP '(?<=^VERSION=).+' /etc/os-release | tr -d '"')
if [[ $VERSION != "10 (buster)" ]] && [[ $VERSION != "11 (bullseye)" ]]; && [[ $VERSION != "12 (bookworm)" ]]; then
if [[ $VERSION != "10 (buster)" ]] && [[ $VERSION != "11 (bullseye)" ]] && [[ $VERSION != "12 (bookworm)" ]]; then
print
print "Warning: So far this install script has only been tested with Raspberry Pi OS 10 (buster), 11 (bullseye) and OS 12 (bookworm)."
if ! ask "You are running Raspberry Pi OS $VERSION, are you sure that you want to continue?" N; then
Expand Down

0 comments on commit 265a459

Please sign in to comment.