summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-20 13:43:25 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-20 13:43:25 +0000
commitb52b6f939fb6a4d7d70923ae8242bbc02e1b864d (patch)
treef197648dff7d7caa80d3073d5bbe387bec3c49cd
parent14676e43135563b0d54933d673aa414a98cb6ee9 (diff)
downloaddrakx-b52b6f939fb6a4d7d70923ae8242bbc02e1b864d.tar
drakx-b52b6f939fb6a4d7d70923ae8242bbc02e1b864d.tar.gz
drakx-b52b6f939fb6a4d7d70923ae8242bbc02e1b864d.tar.bz2
drakx-b52b6f939fb6a4d7d70923ae8242bbc02e1b864d.tar.xz
drakx-b52b6f939fb6a4d7d70923ae8242bbc02e1b864d.zip
handle DVD ISO images too (so that they get added installed for urpmi)
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index f9887706d..f76386c4b 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -119,7 +119,7 @@ sub look_for_ISO_images() {
my ($F) = @_;
my ($vol_id, $app_id) = c::get_iso_volume_ids(fileno $F);
#- the ISO volume names must end in -Disc\d+
- my ($cd_set) = $vol_id =~ /^(.*)-(?:disc\d*|extra)$/i;
+ my ($cd_set) = $vol_id =~ /^(.*)-(?:disc|extra|dvd)\d*$/i;
$cd_set && { cd_set => $cd_set, app_id => $app_id };
};