Skip to content

Commit 8c7447a

Browse files
authored
Merge pull request #280 from supportpal/5.x
[Automated] Merge 5.x into master
2 parents 7a6b63f + e75c92b commit 8c7447a

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/linux-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- quay.io/centos/centos:stream10
2424
- ubuntu:22.04
2525
- ubuntu:24.04
26-
- debian:11
2726
- debian:12
27+
- debian:13
2828

2929
steps:
3030
- uses: actions/checkout@v5

templates/linux/setup.sh

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
#!/bin/bash
22
set -eu -o pipefail
33

4-
version="0.6.0"
5-
64
supported="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

119
usage="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
1513
Options:
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

4541
while [[ "$#" -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

Comments
 (0)