2022-10-04 19:01:31 +02:00
|
|
|
|
|
|
|
[Trigger]
|
|
|
|
Operation=Install
|
|
|
|
Operation=Upgrade
|
|
|
|
Operation=Remove
|
|
|
|
Type=Package
|
|
|
|
Target=grub
|
|
|
|
Target=linux
|
|
|
|
# Change the linux part above and in the Exec line if a different kernel is used
|
|
|
|
|
|
|
|
[Action]
|
|
|
|
Description=Update Grub Scriptes (snapshots)
|
|
|
|
Depends=mkinitcpio
|
|
|
|
When=PostTransaction
|
|
|
|
NeedsTargets
|
2023-01-29 21:12:00 +01:00
|
|
|
Exec=/bin/sh -c 'cp /opt/SpectreOS/configs/grub.d/10_linux /etc/grub.d/10_linux; grub-mkconfig -o /boot/grub/grub.cfg; /usr/bin/mkinitcpio -P'
|