mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-19 03:31:32 +01:00
Thinking in updates
This commit is contained in:
@@ -7,16 +7,21 @@ if [[ ! -f "jkarch" ]];then
|
|||||||
# First add exec permisson to me
|
# First add exec permisson to me
|
||||||
chmod +x installer.sh
|
chmod +x installer.sh
|
||||||
# Grow cowspace
|
# Grow cowspace
|
||||||
|
echo "[ RUN ] Grow cowspace for installer"
|
||||||
sudo -S mount -o remount,size=700M /run/archiso/cowspace
|
sudo -S mount -o remount,size=700M /run/archiso/cowspace
|
||||||
|
echo "[ OK ] Grow cowspace for installer"
|
||||||
|
|
||||||
#Enable pacman
|
#Enable pacman
|
||||||
pacman-key --init
|
echo "[ RUN ] Configuring pacman"
|
||||||
pacman-key --populate
|
sudo pacman-key --init >/dev/null
|
||||||
|
sudo pacman-key --populate >/dev/null
|
||||||
#Update keyring
|
|
||||||
sudo pacman -Sy archlinux-keyring --noconfirm
|
sudo pacman -Sy archlinux-keyring --noconfirm
|
||||||
pacman -S reflector --noconfirm
|
echo "[ OK ] Configuring pacman"
|
||||||
sudo reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
|
|
||||||
|
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)
|
#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 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/*
|
sudo rm -rf /var/cache/pacman/pkg/*
|
||||||
|
|||||||
Reference in New Issue
Block a user