mambawelcome: call grub-mkdevicemap only if present (it isn't since grub 2.00.beta5)

This commit is contained in:
Silvan Calarco 2012-08-07 13:33:07 +02:00
parent d923fb5f91
commit 232a09dd13

View File

@ -45,7 +45,7 @@ Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
dcop_write $"Configuring..." 5 dcop_write $"Configuring..." 5
# update grub device mappings and config # update grub device mappings and config
/usr/sbin/grub-mkdevicemap -n [ -e /usr/sbin/grub-mkdevicemap ] && /usr/sbin/grub-mkdevicemap -n
/usr/sbin/update-grub /usr/sbin/update-grub
[ -r $INPUT_FILE ] || { [ -r $INPUT_FILE ] || {