mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
install: Support Debian 12.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
16dedb08fd
commit
12310189ed
@@ -219,7 +219,7 @@ if [ -f /etc/os-release ]; then
|
||||
fi
|
||||
|
||||
case "$os_id $os_version_id" in
|
||||
'debian 11' | 'ubuntu 20.04' | 'ubuntu 22.04') ;;
|
||||
'debian 11' | 'debian 12' | 'ubuntu 20.04' | 'ubuntu 22.04') ;;
|
||||
*)
|
||||
set +x
|
||||
cat <<EOF
|
||||
@@ -228,6 +228,7 @@ Unsupported OS release: $os_id $os_version_id
|
||||
|
||||
Zulip in production is supported only on:
|
||||
- Debian 11
|
||||
- Debian 12
|
||||
- Ubuntu 20.04 LTS
|
||||
- Ubuntu 22.04 LTS
|
||||
|
||||
|
@@ -210,6 +210,7 @@ if os.path.exists("/etc/init.d/postgresql"):
|
||||
if not postgresql_version:
|
||||
default_postgresql_version = {
|
||||
("debian", "11"): "13",
|
||||
("debian", "12"): "15",
|
||||
("ubuntu", "20.04"): "12",
|
||||
("ubuntu", "22.04"): "14",
|
||||
("centos", "7"): "11",
|
||||
|
2
scripts/setup/apt-repos/zulip/bookworm.list
Normal file
2
scripts/setup/apt-repos/zulip/bookworm.list
Normal file
@@ -0,0 +1,2 @@
|
||||
deb http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main
|
||||
deb-src http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main
|
@@ -26,6 +26,10 @@ if [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then
|
||||
read -r distribution
|
||||
read -r release
|
||||
} <<<"$os_info"
|
||||
if [ "$distribution" = debian ] && [ "$release" = bookworm ]; then
|
||||
# PGroonga binaries are not yet provided for Debian 12.
|
||||
exit
|
||||
fi
|
||||
groonga_apt_source_deb="groonga-apt-source-latest-$release.deb"
|
||||
groonga_apt_source_deb_sign="$groonga_apt_source_deb.asc.$pgroonga_apt_sign_key_fingerprint"
|
||||
curl -fLO --retry 3 "https://packages.groonga.org/$distribution/$groonga_apt_source_deb"
|
||||
|
Reference in New Issue
Block a user