fix: When using `rm` do not use `--force` when not required

`--force` implies that we wish not to fail `rm` even if the file is not present.

This was not our intention and as such can be removed.

Also use short option `-v` for verbose output as per the test of the code base.
allwinner-kernel-jammy
Philip Roche 11 months ago
parent d97514cba0
commit 6ad70d64a5

@ -27,5 +27,5 @@ else
yes | /usr/local/sbin/unminimize yes | /usr/local/sbin/unminimize
# as the lxd-installer package was not installed and thus not removed by `unminimize` # as the lxd-installer package was not installed and thus not removed by `unminimize`
# the mock /usr/sbin/lxd will still be present, so we need to remove it # the mock /usr/sbin/lxd will still be present, so we need to remove it
rm --verbose --force /usr/sbin/lxd rm -v /usr/sbin/lxd
fi fi
Loading…
Cancel
Save