diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-06 00:38:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-06 00:38:57 +0000 |
commit | c75193289b79d4c0687aa6a597b51436568f8360 (patch) | |
tree | 0dde0958b1d48a729e30be420f9f8c94004b7ef8 /perl-install/crypto.pm | |
parent | c5d30320d3d120ccd291ccc7b7271400a4f20e4a (diff) | |
download | drakx-backup-do-not-use-c75193289b79d4c0687aa6a597b51436568f8360.tar drakx-backup-do-not-use-c75193289b79d4c0687aa6a597b51436568f8360.tar.gz drakx-backup-do-not-use-c75193289b79d4c0687aa6a597b51436568f8360.tar.bz2 drakx-backup-do-not-use-c75193289b79d4c0687aa6a597b51436568f8360.tar.xz drakx-backup-do-not-use-c75193289b79d4c0687aa6a597b51436568f8360.zip |
no_comment
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r-- | perl-install/crypto.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm index f15c8914f..ac0904ce1 100644 --- a/perl-install/crypto.pm +++ b/perl-install/crypto.pm @@ -28,8 +28,7 @@ my %deps = ( sub require2package { $deps{$_[0]} || $_[0] } sub mirror2text($) { $mirrors{$_[0]} && "$mirrors{$_[0]}[0] ($_[0])" } -sub mirrorstext() { map { mirror2text($_) } keys %mirrors } -sub text2mirror($) { first($_[0] =~ /\((.*)\)$/) } +sub mirrors() { keys %mirrors } sub dir { $mirrors{$_[0]}[1] . '/' . (arch() !~ /i.86/ && ((arch() =~ /sparc/ ? "sparc" : arch()). '/')) . $::VERSION } sub ftp($) { ftp::new($_[0], dir($_[0])) } |