Skip to content

Commit

Permalink
Initial 6.11 RC support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk-Glitch committed Aug 3, 2024
1 parent 2716916 commit c586f36
Show file tree
Hide file tree
Showing 20 changed files with 16,277 additions and 1 deletion.
14 changes: 14 additions & 0 deletions linux-tkg-config/6.11/90-cleanup.hook
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions linux-tkg-config/6.11/cleanup
Original file line number Diff line number Diff line change
@@ -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:

Loading

0 comments on commit c586f36

Please sign in to comment.