fix: symlink now doesn't fail when installing

This commit is contained in:
Kaley, Fischer 2024-01-04 07:00:33 +01:00
parent edc14d35c1
commit 25643b21df

View file

@ -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
@ -60,6 +60,7 @@ install:
uninstall:
rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop
rm -f ${PREFIX}/bin/Hyprland
rm -f ${PREFIX}/bin/hyprland
rm -f ${PREFIX}/bin/hyprctl
rm -f ${PREFIX}/bin/hyprpm
rm -f ${PREFIX}/lib/libwlroots.so.13032