From f3e92f52fa7287ed0b313a3e86e841446ca264fd Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 19 May 2025 17:13:55 +0200 Subject: [PATCH] testing --- hyprlock.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hyprlock.sh b/hyprlock.sh index cbd8dd0..eac9786 100644 --- a/hyprlock.sh +++ b/hyprlock.sh @@ -86,10 +86,8 @@ getDependencies() { case "$distro" in arch) checkAndInstall hyprgraphics ;; debian) - if ! command_exists hyprutils; then - cloneAndBuildUtils - cloneAndBuildGraphics - fi + cloneAndBuildUtils + cloneAndBuildGraphics ;; esac ;; @@ -103,7 +101,7 @@ getDependencies() { } buildGraphics() { - echo_info "Building hyprgraphics" + echo_pkg build run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build run cmake --build ./build --config Release --target all -j"$cores" } @@ -116,7 +114,7 @@ cloneAndBuildGraphics() { cd hyprgraphics if buildGraphics; then - echo_info "Installing hyprgraphics.." + echo_pkg install $_sudo cmake --install build else echo_error "Build has failed for $distro compiling hyprgraphics" @@ -125,7 +123,7 @@ cloneAndBuildGraphics() { } buildUtils() { - echo_info "Building hyprutils" + echo_pkg build "Building hyprutils" run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build run cmake --build ./build --config Release --target all -j"$cores" } @@ -188,6 +186,8 @@ main() { _install hyprlock ;; debian) + cloneAndBuildUtils + cloneAndBuildGraphics cloneAndBuildLock ;; *)