From ffa1f8b7b9612bbd0dbaa6f4dfe9adb63dd18e93 Mon Sep 17 00:00:00 2001 From: mfgbhatti Date: Fri, 28 Jan 2022 14:33:41 +0000 Subject: [PATCH] bug fix --- startup.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/startup.sh b/startup.sh index a228a83..fb49ab3 100644 --- a/startup.sh +++ b/startup.sh @@ -118,7 +118,7 @@ set_password() { set_option "$1" "$PASSWORD1" else echo -ne "Passwords do not match \n" - return + set_password fi } @@ -143,7 +143,7 @@ title () { } install_pkg () { - pacman -S --noconfirm --needed "$@" + pacman -S --noconfirm --needed "\$@" } refresh_pacman() { @@ -152,7 +152,7 @@ refresh_pacman() { # Setup for logging LOG="${SCRIPT_DIR}/main.log" -[[ -f $LOG ]] && rm -f "$LOG" +[[ -f \$LOG ]] && rm -f "\$LOG" logo () { echo -ne " @@ -502,8 +502,9 @@ make_choice () { fi done } -background_check +#background_check +write_to_config clear logo -title "Automated Arch Linux Installer" +# title "Automated Arch Linux Installer" make_choice \ No newline at end of file