| 
				
			 | 
			
			
				@@ -85,13 +85,17 @@ function mesh_install_nodejs { 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				85
			 | 
			
			
				         exit 7235728 
			 | 
		
	
		
			
			| 
				86
			 | 
			
				86
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				87
			 | 
			
				87
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				88
			 | 
			
				
			 | 
			
			
				-    wget https://www.npmjs.com/install.sh -O $rootdir/root/npm_install.sh 
			 | 
		
	
		
			
			| 
				
			 | 
			
				88
			 | 
			
			
				+    $mesh_install_nodejs_prefix wget https://www.npmjs.com/install.sh -O /root/npm_install.sh 
			 | 
		
	
		
			
			| 
				89
			 | 
			
				89
			 | 
			
			
				     if [ ! -f $rootdir/root/npm_install.sh ]; then 
			 | 
		
	
		
			
			| 
				90
			 | 
			
				90
			 | 
			
			
				         echo $'Unable to download npm installer' 
			 | 
		
	
		
			
			| 
				91
			 | 
			
				91
			 | 
			
			
				         exit 8793636 
			 | 
		
	
		
			
			| 
				92
			 | 
			
				92
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				93
			 | 
			
			
				+    if ! grep -q "t=\"\${npm_install}\"" $rootdir/root/npm_install.sh; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				94
			 | 
			
			
				+        echo $'Unable to set npm version within npm_install.sh' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				95
			 | 
			
			
				+        exit 629052 
			 | 
		
	
		
			
			| 
				
			 | 
			
				96
			 | 
			
			
				+    fi 
			 | 
		
	
		
			
			| 
				93
			 | 
			
				97
			 | 
			
			
				     $mesh_install_nodejs_prefix chmod +x /root/npm_install.sh 
			 | 
		
	
		
			
			| 
				94
			 | 
			
				
			 | 
			
			
				-    sed -i "s|t=\"\${npm_install}\"|t=\"$NPM_VERSION\"|g" $rootdir/root/npm_install.sh 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+    $mesh_install_nodejs_prefix sed -i "s|t=\"\${npm_install}\"|t=\"$NPM_VERSION\"|g" /root/npm_install.sh 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				99
			 | 
			
			
				     $mesh_install_nodejs_prefix /root/npm_install.sh 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				100
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				97
			 | 
			
				101
			 | 
			
			
				     if [ ! -f $rootdir/usr/bin/npm ]; then 
			 |