From 25643b21df34961eda495d12190994592732fb77 Mon Sep 17 00:00:00 2001 From: Kaley Fischer Date: Thu, 4 Jan 2024 07:00:33 +0100 Subject: [PATCH] fix: symlink now doesn't fail when installing --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a0b00259..0a0ef8fa 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ install: chmod 755 ${PREFIX}/bin/Hyprland chmod 755 ${PREFIX}/bin/hyprctl chmod 755 ${PREFIX}/bin/hyprpm - ln -s -r ${PREFIX}/bin/Hyprland ${PREFIX}/bin/hyprland + ln -s -r -f ${PREFIX}/bin/Hyprland ${PREFIX}/bin/hyprland if [ ! -f ${PREFIX}/share/wayland-sessions/hyprland.desktop ]; then cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions; fi mkdir -p ${PREFIX}/share/hyprland cp ./assets/wall_* ${PREFIX}/share/hyprland @@ -60,6 +60,7 @@ install: uninstall: rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop rm -f ${PREFIX}/bin/Hyprland + rm -f ${PREFIX}/bin/hyprland rm -f ${PREFIX}/bin/hyprctl rm -f ${PREFIX}/bin/hyprpm rm -f ${PREFIX}/lib/libwlroots.so.13032