Skip to content

Commit f06abed

Browse files
committed
[feature] Add support for Ubuntu 24.04 in auto-install script
1 parent f88d9cf commit f06abed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
build:
1414
name: CI Build
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Git Checkout
1818
uses: actions/checkout@v4

deploy/auto-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ init_setup() {
265265
apt -qq --yes install lsb-release &>>$LOG_FILE
266266
system_id=$(lsb_release --id --short)
267267
system_release=$(lsb_release --release --short)
268-
incompatible_message="$system_id $system_release is not support. Installation might fail, continue anyway? (Y/n): "
268+
incompatible_message="$system_id $system_release is not supported. Installation might fail, continue anyway? (Y/n): "
269269

270270
if [[ "$system_id" == "Debian" || "$system_id" == "Ubuntu" ]]; then
271271
case "$system_release" in
272-
18.04 | 20.04 | 22.04 | 10 | 11 | 12)
272+
22.04 | 24.04 | 10 | 11 | 12)
273273
if [[ "$1" == "upgrade" ]]; then
274274
report_ok && upgrade_debian
275275
else

0 commit comments

Comments
 (0)