Skip to content

Commit

Permalink
Update install.sh: Temp. check for Bookworm
Browse files Browse the repository at this point in the history
Allsky doesn't work yet on Bookworm,
so display a message and exit.
  • Loading branch information
EricClaeys authored Oct 21, 2023
1 parent 0e956a1 commit e0477e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ STATUS_VARIABLES=() # Holds all the variables and values to save

OS="$(grep CODENAME /etc/os-release | cut -d= -f2)" # usually buster or bullseye

##### XXXXXXXXXXXXXXXX TODO: TEMPORARY CHECK FOR Bookworm
if [[ ${OS} == "bookworm" ]]; then
echo -e "\n=========="
echo "Allsky does not yet work on Bookworm, the newest Pi operating system"
echo "released in October, 2023."
echo "We are working on a release that supports Bookworm and"
echo "should have it available shortly."
echo -e "\n=========="
exit 0
fi


############################################## functions

Expand Down

0 comments on commit e0477e7

Please sign in to comment.