This commit is contained in:
mfgbhatti 2022-01-28 14:33:41 +00:00
parent 345dfc89b8
commit ffa1f8b7b9
1 changed files with 6 additions and 5 deletions

View File

@ -118,7 +118,7 @@ set_password() {
set_option "$1" "$PASSWORD1" set_option "$1" "$PASSWORD1"
else else
echo -ne "Passwords do not match \n" echo -ne "Passwords do not match \n"
return set_password
fi fi
} }
@ -143,7 +143,7 @@ title () {
} }
install_pkg () { install_pkg () {
pacman -S --noconfirm --needed "$@" pacman -S --noconfirm --needed "\$@"
} }
refresh_pacman() { refresh_pacman() {
@ -152,7 +152,7 @@ refresh_pacman() {
# Setup for logging # Setup for logging
LOG="${SCRIPT_DIR}/main.log" LOG="${SCRIPT_DIR}/main.log"
[[ -f $LOG ]] && rm -f "$LOG" [[ -f \$LOG ]] && rm -f "\$LOG"
logo () { logo () {
echo -ne " echo -ne "
@ -502,8 +502,9 @@ make_choice () {
fi fi
done done
} }
background_check #background_check
write_to_config
clear clear
logo logo
title "Automated Arch Linux Installer" # title "Automated Arch Linux Installer"
make_choice make_choice