switched hypridle and hyprlock dependencies to force install

This commit is contained in:
JaKooLit 2025-02-27 17:48:22 +09:00
parent 370641659f
commit 2983d3836f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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