Fix package cache repo URLs (#2)
Reviewed-on: #2 Co-authored-by: Beth <ejparker@actcur.com> Co-committed-by: Beth <ejparker@actcur.com>
This commit is contained in:
parent
f6f9b9d3e4
commit
234ee5de8c
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
[aur-local]
|
[aur-local]
|
||||||
SigLevel = Never
|
SigLevel = Never
|
||||||
Server = http://pkg.actcur.com/archlinux/$repo/os/$arch
|
Server = https://pkg.actcur.com/repo/archlinux/$repo/os/$arch
|
||||||
|
|
|
@ -3,7 +3,7 @@ sleep 10
|
||||||
sed -i 's/^#Server/Server/' /tmp/tempMirrors.list
|
sed -i 's/^#Server/Server/' /tmp/tempMirrors.list
|
||||||
cat /tmp/tempMirrors.list | grep -e "Server = .*\/[$]repo\/os\/[$]arch" > /tmp/tempMirrors2.list
|
cat /tmp/tempMirrors.list | grep -e "Server = .*\/[$]repo\/os\/[$]arch" > /tmp/tempMirrors2.list
|
||||||
mirrors=$(rankmirrors -n 10 /tmp/tempMirrors2.list | grep "Server = ")
|
mirrors=$(rankmirrors -n 10 /tmp/tempMirrors2.list | grep "Server = ")
|
||||||
echo "Server = http://pkg.actcur.com/archlinux/$repo/os/$arch" > /tmp/mirrors.list
|
echo 'Server = https://pkg.actcur.com/repo/archlinux/$repo/os/$arch' > /tmp/mirrors.list
|
||||||
echo "$mirrors" >> /tmp/mirrors.list
|
echo "$mirrors" >> /tmp/mirrors.list
|
||||||
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.old
|
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.old
|
||||||
mv /tmp/mirrors.list /etc/pacman.d/mirrorlist
|
mv /tmp/mirrors.list /etc/pacman.d/mirrorlist
|
||||||
|
|
Loading…
Add table
Reference in a new issue