diff --git a/debian/postinst b/debian/postinst index 0fdf14f..14ab54f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,7 +4,7 @@ set -e case "$1" in configure) - if [ -e /usr/sbin/update-grub ] ; then + if [ -e /usr/sbin/update-grub2 ] ; then GRUBDEFAULT="/etc/default/grub" if [ -e "$GRUBDEFAULT" ] ; then if (grep '^GRUB_BACKGROUND' "$GRUBDEFAULT" > /dev/null 2>&1) ; then @@ -14,7 +14,7 @@ configure) fi fi - update-grub2 + /usr/sbin/update-grub2 fi cat /usr/share/blorand/vimrc.blorand | while read line ; do