summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-18 11:08:58 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-18 11:08:58 +0000
commitb06bbe87b2113e57f54e2ecf1883cbfab63a64ea (patch)
treeaed617b82d7e437f3c361fbdefc008fc81603599
parent016f7fe2c9d26c5b19ff707225029d014c89a1e9 (diff)
downloaddrakx-backup-do-not-use-b06bbe87b2113e57f54e2ecf1883cbfab63a64ea.tar
drakx-backup-do-not-use-b06bbe87b2113e57f54e2ecf1883cbfab63a64ea.tar.gz
drakx-backup-do-not-use-b06bbe87b2113e57f54e2ecf1883cbfab63a64ea.tar.bz2
drakx-backup-do-not-use-b06bbe87b2113e57f54e2ecf1883cbfab63a64ea.tar.xz
drakx-backup-do-not-use-b06bbe87b2113e57f54e2ecf1883cbfab63a64ea.zip
add update medium for crypto for urpmi (flag update).
-rw-r--r--perl-install/crypto.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index 4b7e48572..16a011523 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -127,8 +127,10 @@ sub getPackages {
log::l("read updates hdlist");
#- keep in mind where is the URL prefix used according to mirror (for install_any::install_urpmi).
$update_medium->{prefix} = "ftp://$mirror" . dir($mirror);
- #- (re-)enable the medium to allow install of package.
+ #- (re-)enable the medium to allow install of package,
+ #- make it an update medium (for install_any::install_urpmi).
$update_medium->{selected} = 1;
+ $update_medium->{update} = 1;
return $update_medium;
}