summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-09-12 12:24:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-09-12 12:24:34 +0000
commitd2cbe82f7b877a06bb2f53106c651619b76dccb8 (patch)
tree6dddfc2fb84c6bcc7c1199abce3d6f115fe61904 /drakwizard.pl
parent4bf063301a2b86dad58b75c4dabb8b0f037bdbfb (diff)
downloaddrakwizard-d2cbe82f7b877a06bb2f53106c651619b76dccb8.tar
drakwizard-d2cbe82f7b877a06bb2f53106c651619b76dccb8.tar.gz
drakwizard-d2cbe82f7b877a06bb2f53106c651619b76dccb8.tar.bz2
drakwizard-d2cbe82f7b877a06bb2f53106c651619b76dccb8.tar.xz
drakwizard-d2cbe82f7b877a06bb2f53106c651619b76dccb8.zip
do not install packages in testing mode
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index 23b43ce0..890a9489 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -106,7 +106,7 @@ sub wizard {
if ($> && !$o->{allow_user} && !$::testing) {
require_root_capability();
}
- check_rpm_local($o->{needed_rpm}) if $o->{needed_rpm};
+ check_rpm_local($o->{needed_rpm}) if $o->{needed_rpm} && !$::testing;
if (defined $o->{init}) {
my ($res, $msg) = &{$o->{init}};
if (!$res) {