Skip to content
Snippets Groups Projects
Commit f70d8bec authored by Seblu's avatar Seblu
Browse files

kernel-reinstall: fix simple quoting

parent 57f39ed1
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ cd "/usr/lib/kernel"
for _k in *; do
[[ -d "$_k" ]] && continue
[[ "$(file -b '$_k')" =~ ^"Linux kernel" ]] || continue
[[ "$(file -b "$_k")" =~ ^"Linux kernel" ]] || continue
ver=${_k#*-}
if [[ -d "/boot/$machineid/$ver" ]]; then
kernel-install remove "$ver"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment