File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 66
77DOXYGEN_VERSION=" $1 "
88
9- if [ " $DOXYGEN_VERSION " == " latest" ]; then
9+ if [ " $DOXYGEN_VERSION " = " latest" ]; then
1010 apt-get install doxygen
1111else
1212 apt-get install doxygen=${DOXYGEN_VERSION}
Original file line number Diff line number Diff line change @@ -7,15 +7,19 @@ set -ex
77DOXYGEN_VERSION=" $1 "
88
99if 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
1515else
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 | \
You can’t perform that action at this time.
0 commit comments