From 7e033e48ace5406a9bc442f7d403f9ce3af193f3 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 5 Jan 2024 17:57:24 +0100 Subject: [PATCH] make: unbreak with non-GNU ln(1) after 78f9ba9fdd7e ln -s -r -f /usr/local/bin/Hyprland /usr/local/bin/hyprland ln: illegal option -- r usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file] ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir link source_file target_file *** Error code 1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecfb30f1..e3224970 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 -f ${PREFIX}/bin/Hyprland ${PREFIX}/bin/hyprland + cd ${PREFIX}/bin && ln -sf Hyprland 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