Skip to content

Commit

Permalink
Merge remote-tracking branch 'github-enterprise/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jdetaeye committed Mar 2, 2024
2 parents 4297fce + 4f53b4b commit 16fb3ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions contrib/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
set(CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION TRUE)
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"${CMAKE_CURRENT_SOURCE_DIR}/postrm"
"${CMAKE_CURRENT_SOURCE_DIR}/preinst"
"${CMAKE_CURRENT_SOURCE_DIR}/postinst"
"${CMAKE_CURRENT_SOURCE_DIR}/conffiles"
"${CMAKE_CURRENT_SOURCE_DIR}/templates"
Expand Down
10 changes: 10 additions & 0 deletions contrib/linux/preinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
set -e
. /etc/lsb-release
if ! [ "x$DISTRIB_ID" = "xUbuntu" ] || ! [ "x$DISTRIB_RELEASE" = "x20.04" ]
then
echo "\n\nYou can only use this installer on Ubuntu 20.04\n\n"
exit 1
fi

exit 0
2 changes: 1 addition & 1 deletion doc/installation-guide/linux-binaries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Supported distributions

Binary installation packages are available for:

* Ubuntu 20 LTS
* Ubuntu **20** LTS
* Red Hat Enterprise Linux 8 (Enterprise Edition only, deprecated in favor of containers)
* Rocky Linux 8 (Enterprise Edition only, deprecated in favor of containers)
* Suse 15 (Enterprise Edition only, deprecated in favor of containers)
Expand Down

0 comments on commit 16fb3ad

Please sign in to comment.