nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 1.7 kB view raw
1diff --git a/tools/install.pl b/tools/install.pl 2index 0931979..50745d7 100644 3--- a/tools/install.pl 4+++ b/tools/install.pl 5@@ -92,36 +92,6 @@ if ( $ENV{HOMEBREW_FORMULA_PREFIX} ) { 6 $cpanopt = " -l " . $ENV{HOMEBREW_FORMULA_PREFIX} . "/libexec"; 7 } 8 9-#Load IPC::Cmd 10-install_package( "IPC::Cmd", $cpanopt ); 11-install_package( "Config::AutoConf", $cpanopt ); 12-IPC::Cmd->import('can_run'); 13-require Config::AutoConf; 14- 15- 16-say("\r\nWill now check if all LRR software dependencies are met. \r\n"); 17- 18-#Fails on win even if redis is in the path 19-if ( IS_UNIX ) { 20- #Check for Redis 21- say("Checking for Redis..."); 22- can_run('redis-server') 23- or die 'NOT FOUND! Please install a Redis server before proceeding.'; 24- say("OK!"); 25-} 26- 27-#Check for GhostScript 28-say("Checking for GhostScript..."); 29-can_run('gs') 30- or warn 'NOT FOUND! PDF support will not work properly. Please install the "gs" tool.'; 31-say("OK!"); 32- 33-#Check for libarchive 34-say("Checking for libarchive..."); 35-Config::AutoConf->new()->check_header("archive.h") 36- or die 'NOT FOUND! Please install libarchive and ensure its headers are present.'; 37-say("OK!"); 38- 39 #Check for PerlMagick 40 say("Checking for ImageMagick/PerlMagick..."); 41 my $imgk; 42@@ -170,13 +140,6 @@ if ( $back || $full ) { 43 #Clientside Dependencies with Provisioning 44 if ( $front || $full ) { 45 46- say("\r\nObtaining remote Web dependencies...\r\n"); 47- 48- my $npmcmd = $legacy ? "npm install" : "npm ci"; 49- if ( system($npmcmd) != 0 ) { 50- die "Something went wrong while obtaining node modules - Bailing out."; 51- } 52- 53 say("\r\nProvisioning...\r\n"); 54 55 #Load File::Copy