Add forgotten config files for 5.12 RC1
Fixes https://github.com/Frogging-Family/linux-tkg/issues/190
This commit is contained in:
10
linux-tkg-config/5.12/cleanup
Executable file
10
linux-tkg-config/5.12/cleanup
Executable 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:
|
||||
|
Reference in New Issue
Block a user