mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:29:49 +01:00
Makefile: force ln command to overwrite symlink (#4347)
When running `make install` twice ln shows an error: ``` ln -s -r /usr/local/bin/Hyprland /usr/local/bin/hyprland ln: failed to create symbolic link '/usr/local/bin/hyprland': File exists ```
This commit is contained in:
parent
1512b81126
commit
4d6d662c67
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue