From 4707906fd1d3d5ad31b91657279f9cfff3b437a4 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 22 Sep 2024 22:37:42 +0800 Subject: added hyprland-hyprpm hook to update the hyprpm when hyprland updates --- usr/share/libalpm/hyprland-hyprpm.hook | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 usr/share/libalpm/hyprland-hyprpm.hook (limited to 'usr/share/libalpm') diff --git a/usr/share/libalpm/hyprland-hyprpm.hook b/usr/share/libalpm/hyprland-hyprpm.hook new file mode 100644 index 00000000..0627eacb --- /dev/null +++ b/usr/share/libalpm/hyprland-hyprpm.hook @@ -0,0 +1,12 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = hyprland +Target = hyprland-git + +[Action] +Description = Hyprland: updating hyprpm +When = PostTransaction +Exec = /usr/bin/sudo -u system /usr/bin/hyprpm update +NeedsTargets -- cgit v1.2.3