summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 15:09:38 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 15:09:38 +0000
commit858d7611e7ac3686a37f2eb82ded7cb0a5757d82 (patch)
tree398a462e9187c555fa75ef70b0721052a19ff34e /gurpmi2
parent6e97922320818b239395e68044d62019a6771994 (diff)
downloadurpmi-858d7611e7ac3686a37f2eb82ded7cb0a5757d82.tar
urpmi-858d7611e7ac3686a37f2eb82ded7cb0a5757d82.tar.gz
urpmi-858d7611e7ac3686a37f2eb82ded7cb0a5757d82.tar.bz2
urpmi-858d7611e7ac3686a37f2eb82ded7cb0a5757d82.tar.xz
urpmi-858d7611e7ac3686a37f2eb82ded7cb0a5757d82.zip
gurpmi should install global options when installing
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi26
1 files changed, 6 insertions, 0 deletions
diff --git a/gurpmi2 b/gurpmi2
index ad032cb6..af2f5159 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -283,6 +283,12 @@ sub do_install_3 () {
oldpackage => $state->{oldpackage},
callback_inst => $callback_inst,
callback_trans => $callback_inst,
+ #- global options that might have been read from urpmi.cfg
+ excludepath => $urpm->{options}{excludepath},
+ excludedocs => $urpm->{options}{excludedocs},
+ repackage => $urpm->{options}{repackage},
+ nosize => $urpm->{options}{ignoresize},
+ noscripts => $urpm->{options}{noscripts},
);
if (@l) {
$progress_label->set_label(N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @l));