mirror of https://github.com/aminya/setup-cpp.git
fix: fix llvm add-apt-repository for debian
This commit is contained in:
parent
3d8c387d48
commit
05bd2b5297
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
|
|
@ -133,7 +133,7 @@ function nonInteractiveScript(script: string) {
|
|||
// make the scirpt non-interactive and fix broken packages
|
||||
return script.replace(
|
||||
/add-apt-repository\s*(-y)?\s*"\${REPO_NAME}"/g,
|
||||
`add-apt-repository -y -n "\${REPO_NAME}"
|
||||
`add-apt-repository -y "\${REPO_NAME}"
|
||||
apt-get update -o ${aptTimeout}`,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue