From 344e9df061f34c9b9a1b606b35dc73b73eec13cc Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Sat, 8 Jun 2024 10:29:16 +0900 Subject: [PATCH] Update hyprlock.sh --- install-scripts/hyprlock.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-scripts/hyprlock.sh b/install-scripts/hyprlock.sh index 9c84d6d..4640a1b 100755 --- a/install-scripts/hyprlock.sh +++ b/install-scripts/hyprlock.sh @@ -45,8 +45,8 @@ printf "${NOTE} Installing hyprlock...\n" if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then cd hyprlock || exit 1 cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build - cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` - if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then + cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF` + if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then printf "${OK} hyprlock installed successfully.\n" 2>&1 | tee -a "$MLOG" else echo -e "${ERROR} Installation failed for hyprlock." 2>&1 | tee -a "$MLOG"