melawy-check-reboot-required/usr/share/libalpm/hooks/melawy-reboot-required.hook

46 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-11-04 20:07:17 +05:00
[Trigger]
Operation = Upgrade
Type = Package
Target = amd-ucode
Target = intel-ucode
Target = btrfs-progs
Target = cryptsetup
Target = linux
2023-11-04 20:19:09 +05:00
Target = linux-cachyos*
Target = linux-cacule*
Target = linux-firmware
Target = linux-firmware*
2023-11-04 20:07:17 +05:00
Target = linux-hardened
Target = linux-lts
2023-11-04 20:19:09 +05:00
Target = linux-rt
Target = linux-rt-lts
2023-11-04 20:07:17 +05:00
Target = linux-xanmod
Target = linux-xanmod-anbox
2023-11-04 20:19:09 +05:00
Target = linux-zen
Target = mesa
2023-11-04 20:07:17 +05:00
Target = nvidia
Target = nvidia*-lts
2023-11-04 20:19:09 +05:00
Target = nvidia-*lts-dkms
Target = nvidia-*xx
Target = nvidia-*xx-dkms
Target = nvidia-dkms
2023-11-04 20:07:17 +05:00
Target = systemd*
2023-11-04 20:19:09 +05:00
Target = virtualbox-guest-utils
Target = virtualbox-host-dkms
Target = virtualbox-host-modules-arch
2023-11-04 20:07:17 +05:00
Target = wayland
Target = egl-wayland
Target = xf86-video-*
Target = xorg-fonts*
2023-11-04 20:19:09 +05:00
Target = xorg-server*
2023-11-04 20:07:17 +05:00
Target = booster
Target = dracut
2023-11-04 20:19:09 +05:00
Target = mkinitcpio
2023-11-04 20:07:17 +05:00
[Action]
Description = Check if user should be informed about rebooting after certain system package upgrades.
When = PostTransaction
Depends = libnotify
NeedsTargets
2024-11-10 02:07:54 +05:00
Exec = /bin/sh -c "/usr/bin/melawy-check-reboot-required"