summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-18 11:07:57 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-18 11:07:57 +0000
commit016f7fe2c9d26c5b19ff707225029d014c89a1e9 (patch)
treeda640131dd18830b7616c33b65cc3e814f1d2f89 /perl-install
parent7a85c904913cb385a82b335ef416e78e9308f02d (diff)
downloaddrakx-backup-do-not-use-016f7fe2c9d26c5b19ff707225029d014c89a1e9.tar
drakx-backup-do-not-use-016f7fe2c9d26c5b19ff707225029d014c89a1e9.tar.gz
drakx-backup-do-not-use-016f7fe2c9d26c5b19ff707225029d014c89a1e9.tar.bz2
drakx-backup-do-not-use-016f7fe2c9d26c5b19ff707225029d014c89a1e9.tar.xz
drakx-backup-do-not-use-016f7fe2c9d26c5b19ff707225029d014c89a1e9.zip
add update flag for urpmi medium.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 5c797d1a0..7e8807b8d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -558,7 +558,8 @@ sub install_urpmi {
hdlist: hdlist.$name.cz
with_hdlist: ../base/$_->{hdlist}
list: list.$name" . ($dir =~ /removable:/ && "
- removable: /dev/cdrom") . "
+ removable: /dev/cdrom") . ($_->{update} && "
+ update") . "
}
";