Commit 923cc170 authored by Anton Midyukov's avatar Anton Midyukov

propagator: Fix cleanup old propagator

the * symbol was seen as a symbol because of the options in the shebang.
parent 88acf8f2
......@@ -13,7 +13,9 @@ esac
kimage="$(find /boot -type f -name "$kname-*")"
rm -f /boot/full*.cz
# cleanup old propagator
old_propagator="$(find /boot -type f -name "full*.cz")"
[ -z "$old_propagator" ] || rm $old_propagator
for kver in $kimage; do
kver="${kver#/boot/$kname-}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment