Skip to content

Commit

Permalink
v6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Fourdee committed Jan 11, 2018
1 parent 4ef0673 commit 383f222
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PREP_SYSTEM_FOR_DIETPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1309,8 +1309,9 @@ _EOF_

G_RUN_CMD cp /DietPi/dietpi/.version /var/lib/dietpi/.dietpi_image_version

# - Native PC/EFI
if [ -d /boot/efi ]; then
# - Native PC/EFI (assume x86_64 only possible)
if (( $(dpkg --get-selections | grep -ci -m1 '^grub-efi-amd64[[:space:]]') )) &&
[ -d /boot/efi ]; then

G_DIETPI-NOTIFY 2 'Recreating GRUB-EFI'

Expand Down

0 comments on commit 383f222

Please sign in to comment.