diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-08-12 12:35:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-08-12 12:35:37 +0000 |
commit | 107b1cbeace77c78d4885c138ca57d373a125bdf (patch) | |
tree | 0113b4014c40039b246c3b876d0e2de93d7087cc /perl-install/install_any.pm | |
parent | 665d9ad8aa8b8a71198ef8b6cae00e94b9244391 (diff) | |
download | drakx-107b1cbeace77c78d4885c138ca57d373a125bdf.tar drakx-107b1cbeace77c78d4885c138ca57d373a125bdf.tar.gz drakx-107b1cbeace77c78d4885c138ca57d373a125bdf.tar.bz2 drakx-107b1cbeace77c78d4885c138ca57d373a125bdf.tar.xz drakx-107b1cbeace77c78d4885c138ca57d373a125bdf.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index d299b8bfc..1233b6e9e 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -92,7 +92,9 @@ sub mouse_detect() { sub shells($) { my ($o) = @_; - grep { -x "$o->{prefix}$_" } @{$o->{default}->{shells}}; + my @l = grep { -x "$o->{prefix}$_" } @{$o->{default}->{shells}}; + @l or die "no shell available"; + @l; } sub upgrFindInstall { |