diff --git a/install-scripts/hypridle.sh b/install-scripts/hypridle.sh index dfd0c3c..ebf7cce 100755 --- a/install-scripts/hypridle.sh +++ b/install-scripts/hypridle.sh @@ -28,7 +28,7 @@ MLOG="install-$(date +%d-%H%M%S)_hypridle2.log" printf "\n%s - Installing ${YELLOW}hypridle dependencies${RESET} .... \n" "${INFO}" for PKG1 in "${idle[@]}"; do - install_package "$PKG1" 2>&1 | tee -a "$LOG" + re_install_package "$PKG1" 2>&1 | tee -a "$LOG" if [ $? -ne 0 ]; then echo -e "\e[1A\e[K${ERROR} - ${YELLOW}$PKG1${RESET} Package installation failed, Please check the installation logs" exit 1 diff --git a/install-scripts/hyprlock.sh b/install-scripts/hyprlock.sh index 8596c9a..477855e 100755 --- a/install-scripts/hyprlock.sh +++ b/install-scripts/hyprlock.sh @@ -32,7 +32,7 @@ MLOG="install-$(date +%d-%H%M%S)_hyprlock2.log" printf "\n%s - Installing ${YELLOW}hyprlock dependencies${RESET} .... \n" "${INFO}" for PKG1 in "${lock[@]}"; do - install_package "$PKG1" "$LOG" + re_install_package "$PKG1" "$LOG" done # Check if hyprlock folder exists and remove it