Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 764ab732

Von Jan Büren vor 10 Monaten hinzugefügt

ListMoreUtils als harte Ausstiegsbedingung für installation_check

Unterschiede anzeigen:

scripts/installation_check.pl
18 18
use Term::ANSIColor;
19 19
use Text::Wrap;
20 20

  
21
my $exit = 0;
21 22
unless (eval { require Config::Std; 1 }){
22 23
  print STDERR <<EOL ;
23 24
+------------------------------------------------------------------------------+
......
35 36
+------------------------------------------------------------------------------+
36 37
EOL
37 38

  
38
  exit 72;
39
  $exit = 1;
39 40
}
40 41

  
42

  
43
unless (eval { require List::MoreUtils; 1 }){
44
  print STDERR <<EOL ;
45
+------------------------------------------------------------------------------+
46
  Perl Modul List::MoreUtils could not be loaded.
47

  
48
  Debian: you may install the needed *.deb package with:
49
    apt install liblist-moreutils-perl
50

  
51
  Red Hat/Fedora/CentOS: you may install the needed *.rpm package with:
52
    dnf install perl-List-MoreUtils
53

  
54

  
55
+------------------------------------------------------------------------------+
56
EOL
57

  
58
  $exit = 1;
59
}
60

  
61
exit 72 if $exit;
62

  
41 63
use SL::InstallationCheck;
42 64
use SL::LxOfficeConf;
43 65

  

Auch abrufbar als: Unified diff