summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-29 20:15:36 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-29 20:15:36 +0000
commitd5e061896a35a49a50124949c2882ac9cbe94589 (patch)
tree920e7af830e2aa3a766dba5b7aacdca4a6b50a44 /perl-install/install_any.pm
parentc05cafad9c601272884cf75ee4e056bfbf4b2917 (diff)
downloaddrakx-backup-do-not-use-d5e061896a35a49a50124949c2882ac9cbe94589.tar
drakx-backup-do-not-use-d5e061896a35a49a50124949c2882ac9cbe94589.tar.gz
drakx-backup-do-not-use-d5e061896a35a49a50124949c2882ac9cbe94589.tar.bz2
drakx-backup-do-not-use-d5e061896a35a49a50124949c2882ac9cbe94589.tar.xz
drakx-backup-do-not-use-d5e061896a35a49a50124949c2882ac9cbe94589.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 4ec01334c..5dfea7d79 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -87,8 +87,8 @@ sub shells($) {
sub setPackages {
my ($o) = @_;
- eval { $o->{packages} = pkgs::psUsingHdlist() };
- $@ and $o->{packages} = pkgs::psUsingDirectory();
+ eval { $o->{packages} = pkgs::psUsingHdlist() } if $o->{method} ne "nfs";
+ $o->{packages} = pkgs::psUsingDirectory() if $o->{method} eq "nfs" || $@;
pkgs::getDeps($o->{packages});
$o->{compss} = pkgs::readCompss($o->{packages});