Skip to content

Commit 4a879cc

Browse files
committed
special doxygen case for centos
Signed-off-by: Michael Dolan <[email protected]>
1 parent 22a61f5 commit 4a879cc

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

share/ci/scripts/linux/apt/install_doxygen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -ex
66

77
DOXYGEN_VERSION="$1"
88

9-
if [ "$DOXYGEN_VERSION" == "latest" ]; then
9+
if [ "$DOXYGEN_VERSION" = "latest" ]; then
1010
apt-get install doxygen
1111
else
1212
apt-get install doxygen=${DOXYGEN_VERSION}

share/ci/scripts/linux/dnf/install_doxygen.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ set -ex
77
DOXYGEN_VERSION="$1"
88

99
if command -v dnf >/dev/null; then
10-
if [ "$DOXYGEN_VERSION" == "latest" ]; then
10+
if [ "$DOXYGEN_VERSION" = "latest" ]; then
1111
dnf install -y doxygen
1212
else
1313
dnf install -y doxygen-${DOXYGEN_VERSION}
1414
fi
1515
else
1616
# Is some version of doxygen already available?
1717
if command -v doxygen >/dev/null; then
18-
if [ "$DOXYGEN_VERSION" == "latest" ]; then
18+
source /etc/os-release
19+
if [ "$ID" = "centos" ]; then
20+
# CentOS-7 was known to be compatible with this doxygen version
21+
DOXYGEN_VERSION=1.8.5
22+
elif [ "$DOXYGEN_VERSION" = "latest" ]; then
1923
# Get latest doxygen version from GH
2024
DOXYGEN_VERSION=$(
2125
curl --silent https://api.github.com/repos/doxygen/doxygen/releases/latest | \

0 commit comments

Comments
 (0)