mirror of https://github.com/aminya/setup-cpp
fix: remove internal sudo from execSudo
This commit is contained in:
parent
e4784c9adc
commit
d6513160ef
|
@ -46,6 +46,7 @@ words:
|
||||||
- msys
|
- msys
|
||||||
- multilib
|
- multilib
|
||||||
- mxschmitt
|
- mxschmitt
|
||||||
|
- nala
|
||||||
- noconfirm
|
- noconfirm
|
||||||
- noprogressbar
|
- noprogressbar
|
||||||
- nothrow
|
- nothrow
|
||||||
|
|
|
@ -24,12 +24,12 @@ export function setupNala(version: string, _setupDir: string, _arch: string) {
|
||||||
// https://github.com/volitank/nala#-installation
|
// https://github.com/volitank/nala#-installation
|
||||||
execSudo("/bin/bash", [
|
execSudo("/bin/bash", [
|
||||||
"-c",
|
"-c",
|
||||||
`echo "deb http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,
|
`echo "deb http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,
|
||||||
])
|
])
|
||||||
setupAptPack("wget")
|
setupAptPack("wget")
|
||||||
execSudo("/bin/bash", [
|
execSudo("/bin/bash", [
|
||||||
"-c",
|
"-c",
|
||||||
`wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null`,
|
`wget -qO - https://deb.volian.org/volian/scar.key | tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null`,
|
||||||
])
|
])
|
||||||
|
|
||||||
if (version !== "legacy") {
|
if (version !== "legacy") {
|
||||||
|
|
Loading…
Reference in New Issue