11#! /bin/bash
22set -eu -o pipefail
33
4- version=" 0.6.0"
5-
64supported=" The following Linux OSs are supported, on x86_64 only:
75 * RHEL 9, 10
86 * Ubuntu 22.04 LTS (jammy) & 24.04 LTS (noble)
9- * Debian 11 (bullseye ) & 12 (bookworm )"
7+ * Debian 12 (bookworm ) & 13 (trixie )"
108
119usage=" Usage: curl -LsS https://raw.githubusercontent.com/supportpal/helpdesk-install/master/templates/linux/setup.sh | sudo bash -s -- [options]
1210
@@ -15,8 +13,6 @@ $supported
1513Options:
1614 --help Display this help and exit.
1715
18- --version Output the script version and exit.
19-
2016 --overwrite Permanently delete existing configurations, databases, files.
2117
2218 --docker Use for testing purposes only; replaces systemd to allow testing in docker containers.
@@ -44,10 +40,6 @@ socket_path='/run/supportpal.sock'
4440
4541while [[ " $# " -gt 0 ]]; do
4642 case $1 in
47- --version)
48- echo " $version "
49- exit 0
50- ;;
5143 --help)
5244 echo " $usage "
5345 exit 0
@@ -92,9 +84,10 @@ identify_os() {
9284 debian_version=$( < /etc/debian_version)
9385 case $debian_version in
9486 9* ) error ' Debian version 9 (stretch) has reached End of Life and is no longer supported.' ;;
95- 10* ) os_version= buster ;;
96- 11* ) os_version= bullseye ;;
87+ 10* ) error ' Debian version 10 ( buster) has reached End of Life and is no longer supported. ' ;;
88+ 11* ) error ' Debian version 11 ( bullseye) has reached End of Life and is no longer supported. ' ;;
9789 12* ) os_version=bookworm ;;
90+ 13* ) os_version=trixie ;;
9891 * ) error " Detected Debian but version ($debian_version ) is not supported." " $supported " ;;
9992 esac
10093 ;;
@@ -519,7 +512,7 @@ install_mysql() {
519512 debconf-set-selections <<< " mysql-server mysql-server/root_password password ${root_password}"
520513 debconf-set-selections <<< " mysql-server mysql-server/root_password_again password ${root_password}"
521514
522- wget -O mysql-apt-config.deb https://dev.mysql.com/get/mysql-apt-config_0.8.35 -1_all.deb
515+ wget -O mysql-apt-config.deb https://dev.mysql.com/get/mysql-apt-config_0.8.36 -1_all.deb
523516 dpkg -i mysql-apt-config.deb && apt-get update
524517 rm mysql-apt-config.deb
525518 fi
0 commit comments