Ignore:
Timestamp:
Apr 3, 2019, 12:08:23 PM (2 years ago)
Author:
daduve
Message:

New grub-menu script to dectect list grub menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • first-aid-kit/trunk/fuentes/first-aid-kit.install/usr/share/first-aid-kit/KernelBox.py

    r8614 r8615  
    297297                        for line in lines:
    298298                                if "GRUB_DEFAULT=" in line:
    299                                         f_copy.write("GRUB_DEFAULT=%s\n"%default_grub_option)
     299                                        f_copy.write('GRUB_DEFAULT="%s"'%default_grub_option)
     300                                        f_copy.write("\n")
    300301                                        line_writed=True
    301302                                else:
Note: See TracChangeset for help on using the changeset viewer.