Commit 6fc84a3e authored by Paul Cammish's avatar Paul Cammish
Browse files

Add support for bullseye

parent b9d0c98a
......@@ -16,6 +16,10 @@ if id -u sympl > /dev/null 2>&1 ; then noninteractive=1; fi
while [ $# -gt 0 ]; do
case $1 in
--unstable)
version="$codename-unstable"
shift
;;
--testing)
version="$codename-testing"
shift
......@@ -45,10 +49,10 @@ echo "This script will help you install Sympl on a Debian Linux or Raspberry"
echo " Pi OS server with minimal hassle, and give you some intial pointers."
echo
if [ $( grep -c '^stretch$\|^buster$' <<< $codename ) == 0 ]; then
if [ $( grep -c '^stretch$\|^buster$\|^bullseye$' <<< $codename ) == 0 ]; then
echo "ERROR: Sorry, this script doesn't recognise your Debian version."
echo " You may need to install lsb_release, or check your version."
echo " Expected 'stretch' or 'buster' but got '$codename'."
echo " Expected 'stretch', 'buster' or 'bullseye' but got '$codename'."
exit 1
fi
......@@ -173,4 +177,4 @@ echo "Important new-user information is available at any time by running:
Check these URLs for other information:
http://wiki.sympl.host for documentation and guides.
http://forum.sympl.host for support and assistance.
"
\ No newline at end of file
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment