Merge "Fix issue with Ubuntu grub pre-install step for ARM"
This commit is contained in:
commit
1373ed5374
1 changed files with 7 additions and 1 deletions
|
@ -5,4 +5,10 @@
|
|||
|
||||
set -e
|
||||
|
||||
apt-get -y remove grub-pc grub2-common
|
||||
if dpkg-query -W grub-pc; then
|
||||
apt-get -y remove grub-pc
|
||||
fi
|
||||
|
||||
if dpkg-query -W grub2-common; then
|
||||
apt-get -y remove grub2-common
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue