summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-03 16:56:54 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-03 16:56:54 +0000
commitb697b6cb7f28d6b92da959b9a8df4a9d6e037e1c (patch)
treee227b0c41f0154aa00a532c8337defa717d1cd73
parent53f630a042ffb907107d392c9f765d72af61d789 (diff)
downloadurpmi-b697b6cb7f28d6b92da959b9a8df4a9d6e037e1c.tar
urpmi-b697b6cb7f28d6b92da959b9a8df4a9d6e037e1c.tar.gz
urpmi-b697b6cb7f28d6b92da959b9a8df4a9d6e037e1c.tar.bz2
urpmi-b697b6cb7f28d6b92da959b9a8df4a9d6e037e1c.tar.xz
urpmi-b697b6cb7f28d6b92da959b9a8df4a9d6e037e1c.zip
(install) enable to set 'script_fd' (needed by installer)
-rw-r--r--urpm/install.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 3d17a0a4..86d789fd 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -171,6 +171,8 @@ sub install {
return N("unable to create transaction");
}
+ $trans->set_script_fd($options{script_fd}) if $options{script_fd};
+
my ($update, @errors) = 0;
my @produced_deltas;