Merge pull request #1 from MatMoul/master

Update
This commit is contained in:
Hugo Carvalho 2019-10-18 17:01:34 +01:00 committed by GitHub
commit db7c72e6aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
archfi
View file

@ -12,7 +12,7 @@
# referance : https://wiki.archlinux.org/index.php/Installation_guide # referance : https://wiki.archlinux.org/index.php/Installation_guide
apptitle="Arch Linux Fast Install (archfi) - Version: 2019.08.27.23.48.19 (GPLv3)" apptitle="Arch Linux Fast Install (archfi) - Version: 2019.10.06.21.58.07 (GPLv3)"
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
skipfont="0" skipfont="0"
@ -749,7 +749,7 @@ installmenu(){
fi fi
options=() options=()
options+=("${txteditmirrorlist}" "(${txtoptional})") options+=("${txteditmirrorlist}" "(${txtoptional})")
options+=("${txtinstallarchlinux}" "pacstrap base") options+=("${txtinstallarchlinux}" "pacstrap base linux")
options+=("${txtconfigarchlinux}" "") options+=("${txtconfigarchlinux}" "")
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallmenu}" --menu "" --cancel-button "${txtunmount}" --default-item "${nextitem}" 0 0 0 \ sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallmenu}" --menu "" --cancel-button "${txtunmount}" --default-item "${nextitem}" 0 0 0 \
"${options[@]}" \ "${options[@]}" \
@ -777,8 +777,8 @@ installmenu(){
installbase(){ installbase(){
clear clear
echo "pacstrap /mnt base" echo "pacstrap /mnt base linux"
pacstrap /mnt base pacstrap /mnt base linux
pressanykey pressanykey
} }
@ -1603,6 +1603,10 @@ archrefindinstallchroot(){
archenabledhcpcd(){ archenabledhcpcd(){
if (whiptail --backtitle "${apptitle}" --title "${txtenable//%1/dhcpcd}" --yesno "${txtenable//%1/dhcpcd} ?" 0 0) then if (whiptail --backtitle "${apptitle}" --title "${txtenable//%1/dhcpcd}" --yesno "${txtenable//%1/dhcpcd} ?" 0 0) then
clear clear
echo "pacstrap /mnt dhcpcd"
pacstrap /mnt dhcpcd
archchroot enabledhcpcd archchroot enabledhcpcd
pressanykey pressanykey
fi fi