From 64d1f0f2e257e7fbf701de7de40ea6240c43d290 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Dec 2013 14:46:08 +0100 Subject: advise to install xephyr if missing --- tools/drakx-in-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 0992b49c2..af1e51c1c 100755 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -131,7 +131,7 @@ eval { cp_af('/etc/resolv.conf', "$SLASH_LOCATION/etc/resolv.conf") }; } my $Xnest_pid; -my $Xnest_bin = find { whereis_binary($_) } 'Xephyr', 'Xnest'; +my $Xnest_bin = find { whereis_binary($_) } 'Xephyr', 'Xnest' or die "Xephyr not find! Please install x11-server-xephyr!\n"; if (!-f ($SLASH_LOCATION . $AUTO_INSTALL_ROOTED) && $Xnest_bin && join('', @ARGV) !~ /--text/) { my $DISPLAY = ':8'; $Xnest_pid = fork(); -- cgit v1.2.1