fix: Only use single brackets for if statements

Double brackets are not required and do not follow the uses elsewhere in this code base
allwinner-kernel-jammy
Philip Roche 11 months ago
parent 34dea62ef0
commit c09d4c1652

@ -14,7 +14,7 @@ esac
# /usr/sbin/lxd from the lxd-installer package.
# We can't do that at this stage so just neuter the lxd command (the snap
# will get properly seeded by generic machinery).
if [[ -f "/usr/sbin/lxd" ]]; then
if [ -f "/usr/sbin/lxd" ]; then
rm --verbose --force /usr/sbin/lxd
ln -s /bin/true /usr/sbin/lxd
yes | /usr/local/sbin/unminimize

Loading…
Cancel
Save