mirror of https://github.com/aminya/setup-cpp
fix: fix the nala source list
This commit is contained in:
parent
d204be83ac
commit
fb111ffcf1
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
|
@ -26,7 +26,10 @@ export async function setupNala(version: string, _setupDir: string, _arch: strin
|
||||||
"volian-archive-scar-unstable.gpg",
|
"volian-archive-scar-unstable.gpg",
|
||||||
"https://deb.volian.org/volian/scar.key"
|
"https://deb.volian.org/volian/scar.key"
|
||||||
)
|
)
|
||||||
execSudo("/bin/bash", ["-c", `echo "deb http://deb.volian.org/volian/ scar main" | tee ${keyFileName}`])
|
execSudo("/bin/bash", [
|
||||||
|
"-c",
|
||||||
|
`echo "deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,
|
||||||
|
])
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (version !== "legacy") {
|
if (version !== "legacy") {
|
||||||
|
|
Loading…
Reference in New Issue