fix: fix nala gpg and repo urls

This commit is contained in:
Amin Yahyaabadi 2024-08-07 13:16:16 -07:00
parent a993cd60c0
commit 905b59672f
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
5 changed files with 8 additions and 8 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

@ -21,14 +21,14 @@ export async function setupNala(version: string, _setupDir: string, _arch: strin
return { binDir }
}
// https://github.com/volitank/nala#-installation
// https://gitlab.com/volian/nala/-/wikis/Installation
const keyFileName = await addAptKeyViaDownload(
"volian-archive-scar-unstable.gpg",
"https://deb.volian.org/volian/scar.key",
"volian-archive-nala.gpg",
"https://deb.volian.org/volian/nala.key",
)
execRootSync("/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`,
`echo "deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ nala main" | tee /etc/apt/sources.list.d/volian-archive-nala.list`,
])
try {