initial import
This commit is contained in:
16
dkms/hook.remove
Normal file
16
dkms/hook.remove
Normal file
@@ -0,0 +1,16 @@
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Type = File
|
||||
Target = usr/src/*/dkms.conf
|
||||
Target = lib/modules/*/build/include/
|
||||
Target = 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
|
||||
Reference in New Issue
Block a user