Skip to content

Commit

Permalink
Update install.sh: updates from master
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Oct 26, 2023
1 parent 560104c commit 10ab196
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ STATUS_INT="Got interrupt"
STATUS_VARIABLES=() # Holds all the variables and values to save

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

##### 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

# TODO: check for unknown OS ?
LONG_BITS=$( getconf LONG_BIT ) # Size of a long, 32 or 64

Expand Down

0 comments on commit 10ab196

Please sign in to comment.