Server : Apache System : Linux vps-11451614.idig.com.br 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : qscolchoes ( 1033) PHP Version : 7.4.33 Disable Function : NONE Directory : /usr/local/bin/ |
Upload File : |
#!/usr/bin/perl use strict; use warnings; my %mod = ( ruby => "bundler", python => "pip", nodejs => "npm", ); if ( $0 =~ m/ea-passenger-runtime_(.*)-is-not-installed/ ) { my $missing = $1; if ( !exists $mod{$missing} ) { die "$0 is misnamed\n"; # juust in case } print <<"MSG"; !!!! “$missing” is not installed !! Applications using it will not function until you: 1. Install $missing and $mod{$missing} 2. Run `/usr/local/bin/ea-passenger-runtime-applications-settings --fix` MSG } else { die "$0 is misnamed\n"; # juust in case } exit 0