Skip to content

Commit

Permalink
Show 'sorry' message for unsupported distros.
Browse files Browse the repository at this point in the history
When running script/bootstrap script on Ubuntu Impish or Hirsute,
message about unsupported distro is displayed.
  • Loading branch information
ondrejkajinek committed May 21, 2023
1 parent 9cf6159 commit a4fee5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,14 @@ function bootstrapOnUbuntu()
python3 -m pip install --upgrade-strategy eager --upgrade pip
python3 -m pip install --upgrade-strategy eager cmake
;;
"impish")
echo "Sorry, Ubuntu impish is no longer supported"
exit 2
;;
"hirsute")
echo "Sorry, Ubuntu hirsute is no longer supported"
exit 2
;;
"xenial")
echo "Sorry, Ubuntu xenial is no longer supported"
exit 2
Expand Down

0 comments on commit a4fee5f

Please sign in to comment.