summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index df92c66b4..4e90cf6f5 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -106,6 +106,10 @@ sub errorOpeningFile($) {
#- this means it is no more selected.
$::o->{packages}[2]{$asked_medium}{selected} = undef;
+ #- on cancel, we can expect the current medium to be undefined too,
+ #- this enable remounting if selecting a package back.
+ $current_medium = 'unknown';
+
return;
}
sub getFile {