Skip to content

Commit 05bd2b5

Browse files
committed
fix: fix llvm add-apt-repository for debian
1 parent 3d8c387 commit 05bd2b5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/llvm/llvm_apt_installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function nonInteractiveScript(script: string) {
133133
// make the scirpt non-interactive and fix broken packages
134134
return script.replace(
135135
/add-apt-repository\s*(-y)?\s*"\${REPO_NAME}"/g,
136-
`add-apt-repository -y -n "\${REPO_NAME}"
136+
`add-apt-repository -y "\${REPO_NAME}"
137137
apt-get update -o ${aptTimeout}`,
138138
)
139139
}

0 commit comments

Comments
 (0)