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"