mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03: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
2
Makefile
2
Makefile
@ -42,7 +42,7 @@ install:
|
|||||||
chmod 755 ${PREFIX}/bin/Hyprland
|
chmod 755 ${PREFIX}/bin/Hyprland
|
||||||
chmod 755 ${PREFIX}/bin/hyprctl
|
chmod 755 ${PREFIX}/bin/hyprctl
|
||||||
chmod 755 ${PREFIX}/bin/hyprpm
|
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
|
if [ ! -f ${PREFIX}/share/wayland-sessions/hyprland.desktop ]; then cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions; fi
|
||||||
mkdir -p ${PREFIX}/share/hyprland
|
mkdir -p ${PREFIX}/share/hyprland
|
||||||
cp ./assets/wall_* ${PREFIX}/share/hyprland
|
cp ./assets/wall_* ${PREFIX}/share/hyprland
|
||||||
|
Loading…
Reference in New Issue
Block a user