diff --git a/mxgrub/mxgrub b/mxgrub/mxgrub index 010de68..d3eccf1 100755 --- a/mxgrub/mxgrub +++ b/mxgrub/mxgrub @@ -354,7 +354,6 @@ sub cmd_initramfs { umask 022; check_grub_installation(); -check_grub_menu_and_boot_dir(); our ($opt_list,$opt_update,$opt_initramfs,$opt_test); @@ -396,3 +395,5 @@ if ($opt_list) { @ARGV==1 or die USAGE; cmd_install($ARGV[0]); } + +check_grub_menu_and_boot_dir();