fix: fix the doxygen installation warning on ubuntu

This commit is contained in:
Amin Yahyaabadi 2022-08-09 19:39:11 -07:00
parent 58016a1d28
commit f73b36ae03
6 changed files with 5 additions and 8 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/setup_cpp.mjs vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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",

View File

@ -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()) {