summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-27 16:25:51 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-27 16:25:51 +0000
commitd5d1b2ec94f8e628a5a37192fe2a8ecf82ac3807 (patch)
tree55a831ca2debfb259053df69a0821b2b8ee24784 /urpm.pm
parent7cdef867cb577ef035fdf384dcc4c5e82d930269 (diff)
downloadurpmi-d5d1b2ec94f8e628a5a37192fe2a8ecf82ac3807.tar
urpmi-d5d1b2ec94f8e628a5a37192fe2a8ecf82ac3807.tar.gz
urpmi-d5d1b2ec94f8e628a5a37192fe2a8ecf82ac3807.tar.bz2
urpmi-d5d1b2ec94f8e628a5a37192fe2a8ecf82ac3807.tar.xz
urpmi-d5d1b2ec94f8e628a5a37192fe2a8ecf82ac3807.zip
*** empty log message ***
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index de890ae0..5c7d719a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -226,6 +226,7 @@ sub probe_medium {
}
}
$medium->{url} ||= $medium->{clear_url};
+ $medium->{removable} ||= $medium->{url} =~ /^removable_([^_:]*)(?:_[^:]*)?:/ && "/dev/$1";
$medium;
}