mirror of https://github.com/aminya/setup-cpp
fix: fix the doxygen installation warning on ubuntu
This commit is contained in:
parent
58016a1d28
commit
f73b36ae03
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -52,9 +52,6 @@ const DefaultUbuntuVersion: Record<string, Record<number, string>> = {
|
||||||
20: "0.63.0",
|
20: "0.63.0",
|
||||||
18: "0.61.4",
|
18: "0.61.4",
|
||||||
},
|
},
|
||||||
doxygen: {
|
|
||||||
20: "1.9.4",
|
|
||||||
},
|
|
||||||
nala: {
|
nala: {
|
||||||
22: "",
|
22: "",
|
||||||
21: "legacy",
|
21: "legacy",
|
||||||
|
|
|
@ -61,7 +61,7 @@ export async function setupDoxygen(version: string, setupDir: string, arch: stri
|
||||||
}
|
}
|
||||||
case "linux": {
|
case "linux": {
|
||||||
let installationInfo: InstallationInfo
|
let installationInfo: InstallationInfo
|
||||||
if (version === "" || isArch() || hasDnf()) {
|
if (version === "" || version === undefined || isArch() || hasDnf()) {
|
||||||
if (isArch()) {
|
if (isArch()) {
|
||||||
installationInfo = setupPacmanPack("doxygen", version)
|
installationInfo = setupPacmanPack("doxygen", version)
|
||||||
} else if (hasDnf()) {
|
} else if (hasDnf()) {
|
||||||
|
|
Loading…
Reference in New Issue