Skip to content

Commit

Permalink
Add initial 6.2-rc support (Frogging-Family#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
timocapa authored Dec 26, 2022
1 parent b57e182 commit 12ff2a4
Show file tree
Hide file tree
Showing 19 changed files with 19,373 additions and 1 deletion.
14 changes: 14 additions & 0 deletions linux-tkg-config/6.2/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.2/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 12ff2a4

Please sign in to comment.