summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-09 14:56:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-09 14:56:39 +0000
commit15a55bd9f257454bee6d63c230acae750ae379de (patch)
treed23a29de14697bfe6ec5dc52dfff0cc6da911ba7 /urpm/download.pm
parent64495e8b0d16d2d3a091898c35d4ac86d570b049 (diff)
downloadurpmi-15a55bd9f257454bee6d63c230acae750ae379de.tar
urpmi-15a55bd9f257454bee6d63c230acae750ae379de.tar.gz
urpmi-15a55bd9f257454bee6d63c230acae750ae379de.tar.bz2
urpmi-15a55bd9f257454bee6d63c230acae750ae379de.tar.xz
urpmi-15a55bd9f257454bee6d63c230acae750ae379de.zip
move basename() to urpm::util
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 3b94168b..7655c141 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -17,8 +17,6 @@ my $proxy_config;
#- Timeout for curl connection and wget operations
our $CONNECT_TIMEOUT = 60; #- (in seconds)
-sub basename { local $_ = shift; s|/*\s*$||; s|.*/||; $_ }
-
sub import () {
my $c = caller;
no strict 'refs';