mambawelcome: call grub-mkdevicemap only if present (it isn't since grub 2.00.beta5)
This commit is contained in:
parent
d923fb5f91
commit
232a09dd13
@ -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 ] || {
|
||||||
|
Loading…
Reference in New Issue
Block a user