mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 11:04:37 +08:00
17 lines
432 B
Plaintext
17 lines
432 B
Plaintext
[Trigger]
|
|
Operation = Upgrade
|
|
Operation = Remove
|
|
Type = File
|
|
Target = usr/src/*/dkms.conf
|
|
Target = usr/lib/modules/*/build/include/
|
|
Target = usr/lib/modules/*/modules.alias
|
|
|
|
[Action]
|
|
Description = Remove DKMS modules
|
|
Depends = dkms
|
|
When = PreTransaction
|
|
# SIGPIPE workaround. See FS#49816
|
|
#Exec = /usr/lib/dkms/alpm-hook remove
|
|
Exec = /usr/bin/perl -e "$SIG{PIPE}='DEFAULT'; exec('/usr/lib/dkms/alpm-hook', 'remove');"
|
|
NeedsTargets
|