mirror of https://github.com/aminya/setup-cpp.git
fix: install libtinfo 6 instead of libtinfo-dev
This commit is contained in:
parent
a1e30580e4
commit
17f5ebc5b9
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
|
|
@ -119,7 +119,11 @@ async function llvmBinaryDeps_(majorVersion: number) {
|
|||
execRootSync("dpkg", ["-i", join(tmpdir(), fileName)])
|
||||
}
|
||||
} else {
|
||||
await installAptPack([{ name: "libtinfo-dev" }])
|
||||
try {
|
||||
await installAptPack([{ name: "libtinfo6" }])
|
||||
} catch (err) {
|
||||
info(`Failed to install libtinfo6 ${err}\nSkipping the dependency`)
|
||||
}
|
||||
}
|
||||
} else if (isArch()) {
|
||||
// https://aur.archlinux.org/packages/ncurses5-compat-libs
|
||||
|
|
|
|||
Loading…
Reference in New Issue