mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Do not try to configure grub. Just re-configure it if it was already
configured.
This commit is contained in:
parent
9aaaba7d99
commit
1a1db74806
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ lookkernel() {
|
|||
fi
|
||||
/sbin/lilo -v
|
||||
fi
|
||||
elif [ -e /boot/grub ]&&[ -x /usr/sbin/grub-install ]; then
|
||||
elif [ -e /boot/grub/grub.cfg ]&&[ -x /usr/sbin/grub-install ]; then
|
||||
echo -e "\nFound grub. Do you want to run now: /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg ? (Y/n)"
|
||||
[ ! "$PLUGIN_ZLOOKKERNEL_PROMPT" == "off" ] && answer
|
||||
if [ "$ANSWER" != "n" ] && [ "$ANSWER" != "N" ]; then
|
||||
|
|
Loading…
Reference in a new issue