mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: change the azure mirror URL in /etc/apt/sources.list too
This commit is contained in:
parent
9158aed80a
commit
2c392f848b
1 changed files with 7 additions and 6 deletions
13
.github/workflows/disable_azure_mirror.sh
vendored
13
.github/workflows/disable_azure_mirror.sh
vendored
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "APT MIRRORS BEFORE:"
|
echo "APT MIRRORS BEFORE:"; cat /etc/apt/apt-mirrors.txt
|
||||||
cat /etc/apt/apt-mirrors.txt
|
|
||||||
sudo sed -i 's@http://azure.archive.ubuntu.com@http://archive.ubuntu.com@gm' /etc/apt/apt-mirrors.txt
|
sudo sed -i 's@http://azure.archive.ubuntu.com@http://archive.ubuntu.com@gm' /etc/apt/apt-mirrors.txt
|
||||||
echo "APT MIRRORS AFTER:"
|
echo "APT MIRRORS AFTER:"; cat /etc/apt/apt-mirrors.txt
|
||||||
cat /etc/apt/apt-mirrors.txt
|
|
||||||
|
|
||||||
echo "ls -la /etc/apt/sources.list.d/"
|
echo "ls -la /etc/apt/sources.list.d/"; ls -la /etc/apt/sources.list.d/
|
||||||
ls -la /etc/apt/sources.list.d/
|
|
||||||
for f in /etc/apt/sources.list.d/*; do echo "####### $f ######"; cat $f; done
|
for f in /etc/apt/sources.list.d/*; do echo "####### $f ######"; cat $f; done
|
||||||
|
|
||||||
|
echo "APT SOURCES BEFORE:"; echo "ls -la /etc/apt/sources.list"; ls -la /etc/apt/sources.list; cat /etc/apt/sources.list
|
||||||
|
sudo sed -i 's@http://azure.archive.ubuntu.com@http://archive.ubuntu.com@gm' /etc/apt/sources.list
|
||||||
|
echo "APT SOURCES AFTER:"; echo "ls -la /etc/apt/sources.list"; ls -la /etc/apt/sources.list; cat /etc/apt/sources.list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue