diff options
author | abelian424 | 2021-01-18 11:23:08 +0600 |
---|---|---|
committer | abelian424 | 2021-01-18 11:23:08 +0600 |
commit | d386897cd79e941b9baf162500d00e6a27891648 (patch) | |
tree | 0c5f11fa29e702c6c28d4dc7b42ca94fe50ac2fe /cleanup | |
parent | 1e81bde614cffeb173874b9120a18b7eb80db5c2 (diff) | |
download | aur-d386897cd79e941b9baf162500d00e6a27891648.tar.gz |
Update to 5.10.7
Diffstat (limited to 'cleanup')
-rwxr-xr-x | cleanup | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cleanup b/cleanup new file mode 100755 index 000000000000..c00c08d82679 --- /dev/null +++ b/cleanup @@ -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: + |