summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-16 17:42:13 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-16 17:42:13 +0000
commit5c58e4920c3b4fbf154cfcdf002f5b1347b2a7dd (patch)
tree3b859db8dfc8b65a56fe74b5f9ea11454754024c /perl-install
parent54b0e9572a5ef29674ecaf4678ec42bc338ee4ad (diff)
downloaddrakx-backup-do-not-use-5c58e4920c3b4fbf154cfcdf002f5b1347b2a7dd.tar
drakx-backup-do-not-use-5c58e4920c3b4fbf154cfcdf002f5b1347b2a7dd.tar.gz
drakx-backup-do-not-use-5c58e4920c3b4fbf154cfcdf002f5b1347b2a7dd.tar.bz2
drakx-backup-do-not-use-5c58e4920c3b4fbf154cfcdf002f5b1347b2a7dd.tar.xz
drakx-backup-do-not-use-5c58e4920c3b4fbf154cfcdf002f5b1347b2a7dd.zip
allow upgrade (if any) by using version at 8.2.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/crypto.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index d4aabda4e..fb15db673 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -108,6 +108,7 @@ sub bestMirror {
sub version {
require pkgs;
my $pkg = pkgs::packageByName($::o->{packages}, 'mandrake-release');
+ return '8.2'; #- very dangerous but for testing waiting for post 8.2 distrib TODO
$pkg && $pkg->version || '8.2'; #- safe but dangerous ;-)
}