diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-14 15:24:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-14 15:24:08 +0000 |
commit | 9019611d95da1c18d6fc7d96d9e2b588cf8a8b28 (patch) | |
tree | 325acf4908195be47c768232e7aa4eeb99df113b /perl-install/install_any.pm | |
parent | 01c972efbcc020faabd5905c3abeabf1ed016cc2 (diff) | |
download | drakx-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar drakx-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar.gz drakx-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar.bz2 drakx-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.tar.xz drakx-9019611d95da1c18d6fc7d96d9e2b588cf8a8b28.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 6 |
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/; $_; } |