summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-18 10:06:43 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-18 10:06:43 +0000
commitd861e03457f61ed2894f68bf841805441d9a192b (patch)
tree36d04630d8737722e0195456d460be069e11e0e3
parentb09ba8b96fdc1275ff83852d35e8f28a8500a05b (diff)
downloaddrakx-d861e03457f61ed2894f68bf841805441d9a192b.tar
drakx-d861e03457f61ed2894f68bf841805441d9a192b.tar.gz
drakx-d861e03457f61ed2894f68bf841805441d9a192b.tar.bz2
drakx-d861e03457f61ed2894f68bf841805441d9a192b.tar.xz
drakx-d861e03457f61ed2894f68bf841805441d9a192b.zip
allow selection/deselection of update medium (for cancel of installation).
-rw-r--r--perl-install/crypto.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index a91010ca5..f5a80d4c3 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -127,6 +127,8 @@ 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.
+ $update_medium->{select} = 1;
return $update_medium;
}