diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-20 14:46:08 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-20 14:46:08 +0100 |
commit | 64d1f0f2e257e7fbf701de7de40ea6240c43d290 (patch) | |
tree | 929369048295bb363a5c4c928792f0dfb8e56115 /tools/drakx-in-chroot | |
parent | 5a773fbf89098e38bd0f6c86b93e72d1000808c9 (diff) | |
download | drakx-64d1f0f2e257e7fbf701de7de40ea6240c43d290.tar drakx-64d1f0f2e257e7fbf701de7de40ea6240c43d290.tar.gz drakx-64d1f0f2e257e7fbf701de7de40ea6240c43d290.tar.bz2 drakx-64d1f0f2e257e7fbf701de7de40ea6240c43d290.tar.xz drakx-64d1f0f2e257e7fbf701de7de40ea6240c43d290.zip |
advise to install xephyr if missing
Diffstat (limited to 'tools/drakx-in-chroot')
-rwxr-xr-x | tools/drakx-in-chroot | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |