1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 10:11:32 +01:00
This commit is contained in:
2017-02-13 00:15:58 +01:00
parent fa656334b2
commit 6a850fe3f9

View File

@@ -57,9 +57,11 @@ function comm {
if [[ $? != "0" ]];then
echo "[FAILED] $1"
echo "[FAILED] $1" >> /tmp/install.log
elif [ $? == "0" ] && [[ $multic == "0" || $multic == "3" ]];then
echo "[ OK ] $1"
echo "[ OK ] $1" >> /tmp/install.log
elif [ $? == "0" ];then
if [[ $multic == "0" || $multic == "3" ]];then
echo "[ OK ] $1"
echo "[ OK ] $1" >> /tmp/install.log
fi
fi
}
@@ -655,7 +657,6 @@ function keyboardlayout {
# Prepare system for install
if [[ ! -f "jkarch" ]];then
#Prepare system before install
dialog --title "JKArch install script" --msgbox "Starting installation, please wait" 15 60
@@ -665,12 +666,12 @@ if [[ ! -f "jkarch" ]];then
comm "Grow cowspace for installer" "1" "sudo" "mount -o remount,size=700M /run/archiso/cowspace"
#Enable pacman
comm "Configuring pacman" "1" "sudo" "pacman-key --init" "0"
comm "Configuring pacman" "1" "sudo" "pacman-key --populate" "0"
comm "Configuring pacman" "1" "sudo" "pacman -Sy archlinux-keyring --noconfirm" "1"
comm "Configuring pacman" "1" "sudo" "pacman-key --init" "1"
comm "Configuring pacman" "1" "sudo" "pacman-key --populate" "2"
comm "Configuring pacman" "1" "sudo" "pacman -Sy archlinux-keyring --noconfirm" "3"
comm "Selecting mirrors" "1" "sudo" "pacman -S reflector --noconfirm" "0"
comm "Selecting mirrors" "1" "sudo" "reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist" "1"
comm "Selecting mirrors" "1" "sudo" "pacman -S reflector --noconfirm" "1"
comm "Selecting mirrors" "1" "sudo" "reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist" "3"
#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