From f58cca1bb2f65228d30aca60db8f609f7f7fa200 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Tue, 18 Nov 2014 03:38:20 +0100 Subject: [PATCH] grubcfg: Don't error if /etc/default is missing. It is created later in the function. --- src/modules/grubcfg/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py index 3e3ad81f0..0e6b5b5a5 100644 --- a/src/modules/grubcfg/main.py +++ b/src/modules/grubcfg/main.py @@ -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"