From c39279553cdf9500fc882d7e02997249b55e8aec Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 16 May 2025 10:36:27 +0200 Subject: [PATCH] wip --- hyprlock.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hyprlock.sh b/hyprlock.sh index 808429b..a44eb3b 100644 --- a/hyprlock.sh +++ b/hyprlock.sh @@ -33,18 +33,18 @@ getImports() { sleep 0.2 rm "$import" + unset PACKAGE + + PACKAGE=hyprlock && + echo_note "Installing $PACKAGE.." + + sleep 1 + if command_exists $PACKAGE; then echo_warning "$PACKAGE is alread installed!" echo_warning "Exiting now!" exit 69 fi - - unset PACKAGE - - sleep 1 - - PACKAGE=hyprlock && - echo_note "Installing $PACKAGE.." } checkComp() {