modules/microvm-host: fix update-microvm script by removing old symlink

first
This commit is contained in:
Astro 2022-11-08 00:21:42 +01:00
parent 19a4f7f10d
commit e15d786e5f

View File

@ -103,6 +103,7 @@
elif [ "$(readlink current)" != $NEW ]; then
rm -f old
cp --no-dereference current old
rm -f current
ln -s $NEW current
CHANGED=yes
fi