1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 17:51:33 +01:00

Thinking in updates

This commit is contained in:
2017-02-12 16:50:28 +01:00
parent 8386f1a808
commit f3559108a7

View File

@@ -7,16 +7,21 @@ if [[ ! -f "jkarch" ]];then
# First add exec permisson to me
chmod +x installer.sh
# Grow cowspace
echo "[ RUN ] Grow cowspace for installer"
sudo -S mount -o remount,size=700M /run/archiso/cowspace
echo "[ OK ] Grow cowspace for installer"
#Enable pacman
pacman-key --init
pacman-key --populate
#Update keyring
echo "[ RUN ] Configuring pacman"
sudo pacman-key --init >/dev/null
sudo pacman-key --populate >/dev/null
sudo pacman -Sy archlinux-keyring --noconfirm
pacman -S reflector --noconfirm
sudo reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
echo "[ OK ] Configuring pacman"
echo "[ RUN ] Selecting mirrors"
sudo pacman -S reflector --noconfirm >/dev/null
sudo reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist >/dev/null
echo "[ OK ] Selecting mirrors"
#Delete programs (For not updating it)
sudo pacman -R clonezilla darkhttpd diffutils grml-zsh-config irssi linux-atm lvm2 man-db man-pages mc ndisc6 nmap smartmontools testdisk vi vim vim-runtime openconnect pcsclite python2 python reflector --noconfirm
sudo rm -rf /var/cache/pacman/pkg/*