grubcfg: Don't error if /etc/default is missing.

It is created later in the function.
This commit is contained in:
Kevin Kofler 2014-11-18 03:38:20 +01:00
parent 5cae4e0632
commit f58cca1bb2

View File

@ -29,9 +29,6 @@ def modify_grub_default(partitions, root_mount_point, distributor):
use_splash = ""
swap_uuid = ""
if not os.path.exists(default_dir):
return ("Directory does not exist", "The directory {} does not exist on "
"the target".format(default_dir))
if os.path.exists(plymouth_bin):
use_splash = "splash"