Skip to content

Commit 90a15f5

Browse files
committed
fix: fix old gcc ppa
1 parent 95c8ebb commit 90a15f5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/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/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.

src/gcc/gcc.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,27 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
3535
case "linux": {
3636
if (arch === "x64") {
3737
await setupAptPack("gcc", version, [
38-
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
38+
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
3939
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
4040
"ppa:ubuntu-toolchain-r/test",
4141
])
4242
binDir = (
4343
await setupAptPack("g++", version, [
44-
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
44+
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
4545
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
4646
"ppa:ubuntu-toolchain-r/test",
4747
])
4848
).binDir
4949
} else {
5050
info(`Install g++-multilib because gcc for ${arch} was requested`)
5151
await setupAptPack("gcc-multilib", version, [
52-
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
52+
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
5353
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
5454
"ppa:ubuntu-toolchain-r/test",
5555
])
5656
binDir = (
5757
await setupAptPack("g++-multilib", version, [
58-
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
58+
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
5959
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
6060
"ppa:ubuntu-toolchain-r/test",
6161
])
@@ -68,7 +68,7 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
6868
// case "none": {
6969
// if (arch === "arm" || arch === "arm64") {
7070
// return setupAptPack("gcc-arm-none-eabi", version, [
71-
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
71+
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main",
7272
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
7373
// "ppa:ubuntu-toolchain-r/test",
7474
// ])

0 commit comments

Comments
 (0)