diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-08-29 20:15:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-08-29 20:15:36 +0000 |
commit | d5e061896a35a49a50124949c2882ac9cbe94589 (patch) | |
tree | 920e7af830e2aa3a766dba5b7aacdca4a6b50a44 /perl-install/install_any.pm | |
parent | c05cafad9c601272884cf75ee4e056bfbf4b2917 (diff) | |
download | drakx-d5e061896a35a49a50124949c2882ac9cbe94589.tar drakx-d5e061896a35a49a50124949c2882ac9cbe94589.tar.gz drakx-d5e061896a35a49a50124949c2882ac9cbe94589.tar.bz2 drakx-d5e061896a35a49a50124949c2882ac9cbe94589.tar.xz drakx-d5e061896a35a49a50124949c2882ac9cbe94589.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
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}); |