summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
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/;
$_;
}