diff options
author | rszyma <[email protected]> | 2024-01-04 10:20:17 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-04 10:20:17 +0100 |
commit | 4d6d662c67786c86647cf41b5b20d9c0b418dbb3 (patch) | |
tree | fd4092c8fc6b2d65219a7a33b43d3139c2d90613 /Makefile | |
parent | 1512b81126dd115f089fd21244692d92034c78f8 (diff) | |
download | Hyprland-4d6d662c67786c86647cf41b5b20d9c0b418dbb3.tar.gz Hyprland-4d6d662c67786c86647cf41b5b20d9c0b418dbb3.zip |
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
```
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |