[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=plymouth
# Change the linux part above and in the Exec line if a different kernel is used

[Action]
Description=Update Plymouth hook script
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'cp /opt/deadc0de-os-code/hooks-disabled/plymouth /usr/lib/initcpio/hooks/; /usr/bin/mkinitcpio -P'
