makefile: use -f in copies to avoid errors on running hl

This commit is contained in:
vaxerski 2023-04-27 14:56:43 +01:00
parent 5ce76cd0b0
commit f23455e592

View File

@ -40,8 +40,8 @@ install:
mkdir -p ${PREFIX}/share/wayland-sessions
mkdir -p ${PREFIX}/bin
cp ./build/Hyprland ${PREFIX}/bin
cp ./hyprctl/hyprctl ${PREFIX}/bin
cp ./build/Hyprland ${PREFIX}/bin -f
cp ./hyprctl/hyprctl ${PREFIX}/bin -f
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_2K.png ${PREFIX}/share/hyprland