melawy-refind-menu-generator/usr/share/libalpm/hooks/60-refind-menu-remove.hook

15 lines
321 B
Plaintext

[Trigger]
Type = Path
Operation = Remove
Target = efi/EFI/Linux/*
Target = boot/EFI/Linux/*
Target = boot/efi/EFI/Linux/*
Target = usr/lib/modules/*/pkgbase
Target = usr/src/*/dkms.conf
[Action]
Description = Removing linux images...
When = PreTransaction
Exec = /bin/sh -c "/usr/bin/refind-menu-generator"
NeedsTargets