makefile: fixup permissions on installed binaries

This commit is contained in:
vaxerski 2023-09-28 22:13:21 +01:00
parent 453128ee0e
commit 3f09b14381

View file

@ -49,6 +49,8 @@ install:
mkdir -p ${PREFIX}/bin mkdir -p ${PREFIX}/bin
cp -f ./build/Hyprland ${PREFIX}/bin cp -f ./build/Hyprland ${PREFIX}/bin
cp -f ./hyprctl/hyprctl ${PREFIX}/bin cp -f ./hyprctl/hyprctl ${PREFIX}/bin
chmod 711 ${PREFIX}/bin/Hyprland
chmod 711 ${PREFIX}/bin/hyprctl
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