summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-14 15:24:08 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-14 15:24:08 +0000
commit9019611d95da1c18d6fc7d96d9e2b588cf8a8b28 (patch)
tree325acf4908195be47c768232e7aa4eeb99df113b /perl-install/install_any.pm
parent01c972efbcc020faabd5905c3abeabf1ed016cc2 (diff)
downloaddrakx-backup-do-not-use-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar
drakx-backup-do-not-use-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar.gz
drakx-backup-do-not-use-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar.bz2
drakx-backup-do-not-use-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar.xz
drakx-backup-do-not-use-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 79c41bfa6..e40c800fe 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -24,8 +24,10 @@ use log;
#- Functions
#-######################################################################################
sub relGetFile($) {
- local $_ = member($_[0], qw(compss compssList depslist hdlist)) ? "base" : "RPMS";
- $_ = "Mandrake/$_/$_[0]";
+ local $_ = $_[0];
+ my $dir = m|/| ? "mdkinst" :
+ (member($_, qw(compss compssList depslist hdlist)) ? "base" : "RPMS");
+ $_ = "Mandrake/$dir/$_";
s/i386/i586/;
$_;
}