Skip to content

Commit

Permalink
ubuntu_setup.sh: add option to continue on unsupported os
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Nov 16, 2021
1 parent d8a5c41 commit 0674726
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/ubuntu_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,12 @@ if [ -f "/etc/os-release" ]; then
;;
*)
echo "$ID $VERSION_ID is unsupported. This setup script is written for Ubuntu 20.04."
exit 1
read -p "Would you like to attempt installation anyway? " -n 1 -r
echo ""
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
exit 1
fi
install_ubuntu_lts_requirements
esac
else
echo "No /etc/os-release in the system"
Expand Down

0 comments on commit 0674726

Please sign in to comment.