Use target_env calls in Python modules.

This commit is contained in:
Teo Mrnjavac 2015-08-06 12:13:21 +02:00
parent bf885d65db
commit 10ce42f35c
12 changed files with 75 additions and 75 deletions

View file

@ -35,7 +35,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
default_dir = os.path.join(root_mount_point, "etc/default")
default_grub = os.path.join(default_dir, "grub")
distributor_replace = distributor.replace("'", "'\\''")
plymouth_bin = libcalamares.utils.chroot_call(["sh", "-c", "which plymouth"])
plymouth_bin = libcalamares.utils.target_env_call(["sh", "-c", "which plymouth"])
use_splash = ""
swap_uuid = ""