summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/crypto.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index 4e4160b80..927a7de15 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -101,10 +101,10 @@ sub bestMirror {
sub version {
require pkgs;
my $pkg = pkgs::packageByName($::o->{packages}, 'mandrake-release');
- $pkg && $pkg->version || '9.0'; #- safe but dangerous ;-)
+ $pkg && $pkg->version || '9.1'; #- safe but dangerous ;-)
}
-sub dir { $mirrors{$_[0]}[1] . '/' . version() }
+sub dir { $mirrors{$_[0]}[1] . ($::corporate && '/corporate' || '') . '/' . version() }
sub ftp($) { ftp::new($_[0], dir($_[0])) }
sub getFile {