From 2ca1cc678a454a9f0e4709d836179c771779ec18 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 10 Jan 2005 11:36:00 +0000 Subject: Silent install of terminal-server if needed (--X is deprecated) --- perl-install/standalone/drakTermServ | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'perl-install/standalone/drakTermServ') diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index ec6a3bf96..f3633f9b2 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -68,11 +68,7 @@ my $cmd_line = 1; #- make sure terminal server and friends are installed my $ts = system("rpm -q terminal-server > /dev/null"); if ($ts == 256) { - if ($ENV{DISPLAY}) { - system("urpmi --X terminal-server > /dev/null"); - } else { - system("urpmi terminal-server > /dev/null"); - } + system("urpmi --auto terminal-server >/dev/null 2>/dev/null") unless $::testing; $ts = system("rpm -q terminal-server > /dev/null"); if ($ts == 256 && !$::testing) { warn(N("Useless without Terminal Server")); -- cgit v1.2.1