fix: Only use single brackets for if statements

Double brackets are not required and do not follow the uses elsewhere in this code base
This commit is contained in:
Philip Roche 2024-01-22 12:41:41 +00:00
parent 34dea62ef0
commit c09d4c1652

View File

@ -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