Merge pull request #407 from aminya/pin

fix: pin the apt-fast and nala installers
This commit is contained in:
Amin Ya 2025-05-24 03:41:16 -07:00 committed by GitHub
commit 2a58e75f05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 9 additions and 7 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

@ -1,6 +1,6 @@
{
"name": "setup-apt",
"version": "3.1.0",
"version": "3.1.1",
"description": "Setup apt packages and repositories in Debian/Ubuntu-based distributions",
"repository": "https://github.com/aminya/setup-cpp",
"homepage": "https://github.com/aminya/setup-cpp/tree/master/packages/setup-apt",

View File

@ -35,8 +35,9 @@ export async function setupAptFast() {
async function setupAptFastViaInstaller() {
const depP = installAptPack([{ name: "bash" }, { name: "wget" }])
// https://github.com/ilikenwf/apt-fast
const installer = new DownloaderHelper(
"https://git.io/vokNn",
"https://raw.githubusercontent.com/ilikenwf/apt-fast/c2cd0a0420d3f2d647dc82cf749bfd58c4697dac/quick-install.sh",
tmpdir(),
{ fileName: "install-apt-fast.sh" },
)

View File

@ -61,8 +61,9 @@ export async function setupNala(version?: string) {
}
async function setupNalaViaInstaller() {
// https://gitlab.com/volian/volian-archive
const installer = new DownloaderHelper(
"https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh",
"https://gitlab.com/volian/volian-archive/-/raw/1939afc3f80638dca2bbedde74bbd86731703cc8/install-nala.sh",
tmpdir(),
{ fileName: "install-nala.sh" },
)