From: Michael Prokop Date: Mon, 20 Feb 2012 13:52:24 +0000 (+0100) Subject: Maintainer scripts: test for presence of grub.cfg, don't execute update-grub otherwise X-Git-Tag: v0.4.2~1 X-Git-Url: http://git.grml.org/?p=grml-rescueboot.git;a=commitdiff_plain;h=395abc5bda9903f9bbe0ecd1df63a59bdb6b0071;hp=395abc5bda9903f9bbe0ecd1df63a59bdb6b0071 Maintainer scripts: test for presence of grub.cfg, don't execute update-grub otherwise Let's do the same as memtest86+-4.20 does: test for presence of /boot/grub/grub.cfg, if the file exists (and running some other checks) we can execute update-grub, otherwise don't care.... This is supposed to address the annoying: | /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). issue which is showing up in minimal chroots on package removal. Closes: #660588 ---