diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-14 13:20:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-14 13:20:46 +0000 |
commit | d1ac87c8ddce83fc1db95f332d657e593f736809 (patch) | |
tree | c0099996f97a284cba6e1e078b87e660e9a2452a /perl-install | |
parent | fd42d5b16e79807c218d8ab2b121b58b5abe6872 (diff) | |
download | drakx-d1ac87c8ddce83fc1db95f332d657e593f736809.tar drakx-d1ac87c8ddce83fc1db95f332d657e593f736809.tar.gz drakx-d1ac87c8ddce83fc1db95f332d657e593f736809.tar.bz2 drakx-d1ac87c8ddce83fc1db95f332d657e593f736809.tar.xz drakx-d1ac87c8ddce83fc1db95f332d657e593f736809.zip |
if testing, don't use kdesu
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 4491cc35c..bf3a818b0 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -80,7 +80,7 @@ sub vnew { if ($ENV{DISPLAY} && system('/usr/X11R6/bin/xtest') == 0) { if ($su) { $ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}"; - if ($>) { + if ($> && !$::testing) { exec("kdesu", "-c", "$0 @ARGV") or die _("kdesu missing"); } } |