fix: fix llvm add-apt-repository for debian

This commit is contained in:
Amin Yahyaabadi 2025-05-05 05:10:57 -07:00
parent 3d8c387d48
commit 05bd2b5297
5 changed files with 5 additions and 5 deletions

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

View File

@ -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}`,
)
}