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

46 lines
1.0 KiB
Plaintext

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