From 502a4ece1107c81d7dc72a9c7ab45134d923c282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20COUDERC?= Date: Thu, 10 Nov 2016 11:31:24 +0000 Subject: [PATCH] Prefer update-grub that replaced update-grub2 long ago --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index 1297def..b10ce22 100644 --- a/debian/postinst +++ b/debian/postinst @@ -193,11 +193,11 @@ spacefun 16x9 30 EOF # Apply GRUB background update into /boot - if which update-grub2 > /dev/null ; then + if which update-grub > /dev/null ; then # Ensure the background image file has actually been written to disc # before updating. sync - update-grub2 || true + update-grub || true fi if which update-initramfs > /dev/null; then