finally
This commit is contained in:
14
airootfs/usr/local/bin/install-sc.sh
Normal file
14
airootfs/usr/local/bin/install-sc.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p /etc/pacman.d/gnupg
|
||||
pacman-key --init
|
||||
pacman-key --populate archlinux
|
||||
|
||||
# 3. Get Reflector (Using --needed so it doesn't reinstall if already there)
|
||||
pacman -Sy --noconfirm --needed reflector
|
||||
|
||||
# 4. Clean the Mirrorlist (The most important part!)
|
||||
reflector --latest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
|
||||
|
||||
# 5. Final sync so the 'packages' module is ready to go
|
||||
pacman -Sy
|
||||
Reference in New Issue
Block a user