Fix simple errors

This commit is contained in:
2024-06-09 05:05:28 -05:00
parent 314e5c9b8b
commit fd0fe84f3e
11 changed files with 34 additions and 15 deletions

View File

@ -1,4 +1,3 @@
#/bin/bash
cp $(which akmods) /tmp/akmods
sed -i 's/dnf -y install/dnf -y reinstall/' /tmp/akmods
perl -i -pe 'if (/check_kmod_up2date\(\)/) { $_ .= <>; s/\{\n/{ return 1\n/ }' /tmp/akmods