Add forgotten config files for 5.12 RC1

Fixes https://github.com/Frogging-Family/linux-tkg/issues/190
This commit is contained in:
Tk-Glitch 2021-03-02 22:19:50 +01:00
parent f4de77e7d3
commit 6e4d2393ba
3 changed files with 10309 additions and 0 deletions

View File

@ -0,0 +1,14 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/
Target = !usr/lib/modules/*/?*
[Action]
Description = Cleaning up...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/cleanup
NeedsTargets

10
linux-tkg-config/5.12/cleanup Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
for _f in /usr/lib/modules/*tkg*; do
if [[ ! -e ${_f}/vmlinuz ]]; then
rm -rf "$_f"
fi
done
# vim:set ft=sh sw=2 et:

File diff suppressed because it is too large Load Diff