From 70af4617c25d79d8ea205e9eee6191688eb46e90 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 1 Jan 2024 22:49:55 +0900 Subject: [PATCH] ok. adding sleep as seems that base is being ommited --- install-scripts/paru.sh | 3 ++- install-scripts/yay.sh | 2 +- install.sh | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install-scripts/paru.sh b/install-scripts/paru.sh index c9770dc..8e28d5e 100755 --- a/install-scripts/paru.sh +++ b/install-scripts/paru.sh @@ -24,7 +24,8 @@ if [ ! -d Install-Logs ]; then mkdir Install-Logs fi -if [ ! -d paru-bin ]; then +# checking if paru-bin exist and removing if it is +if [ -d paru-bin ]; then rm -rf paru-bin 2>&1 | tee -a "$LOG" fi diff --git a/install-scripts/yay.sh b/install-scripts/yay.sh index 6c0c550..2ee4a59 100755 --- a/install-scripts/yay.sh +++ b/install-scripts/yay.sh @@ -24,7 +24,7 @@ if [ ! -d Install-Logs ]; then fi # Check Existing yay-bin -if [ ! -d yay-bin ]; then +if [ -d yay-bin ]; then rm -rf yay-bin 2>&1 | tee -a "$LOG" fi diff --git a/install.sh b/install.sh index fded281..5fddc87 100755 --- a/install.sh +++ b/install.sh @@ -142,6 +142,7 @@ printf "\n" # Ensuring all in the scripts folder are made executable chmod +x install-scripts/* +sleep 1 # Ensuring base-devel is installed execute_script "00-base.sh"