| 
				
			 | 
			
			
				@@ -165,7 +165,7 @@ function mesh_install_nodejs { 
			 | 
		
	
		
			
			| 
				165
			 | 
			
				165
			 | 
			
			
				     nodejs_fix_cpu_detection 
			 | 
		
	
		
			
			| 
				166
			 | 
			
				166
			 | 
			
			
				     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save 
			 | 
		
	
		
			
			| 
				167
			 | 
			
				167
			 | 
			
			
				     if [ -f "$rootdir/usr/local/bin/npm" ]; then 
			 | 
		
	
		
			
			| 
				168
			 | 
			
				
			 | 
			
			
				-        cp "$rootdir/usr/local/bin/npm" /usr/bin/npm 
			 | 
		
	
		
			
			| 
				
			 | 
			
				168
			 | 
			
			
				+        cp "$rootdir/usr/local/bin/npm" "$rootdir/usr/bin/npm" 
			 | 
		
	
		
			
			| 
				169
			 | 
			
				169
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				170
			 | 
			
				170
			 | 
			
			
				     cp "$rootdir/usr/bin/npm" "$rootdir/root/npm" 
			 | 
		
	
		
			
			| 
				171
			 | 
			
				171
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -181,7 +181,7 @@ function mesh_install_nodejs { 
			 | 
		
	
		
			
			| 
				181
			 | 
			
				181
			 | 
			
			
				     # deliberate second install of npm 
			 | 
		
	
		
			
			| 
				182
			 | 
			
				182
			 | 
			
			
				     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save 
			 | 
		
	
		
			
			| 
				183
			 | 
			
				183
			 | 
			
			
				     if [ -f "$rootdir/usr/local/bin/npm" ]; then 
			 | 
		
	
		
			
			| 
				184
			 | 
			
				
			 | 
			
			
				-        cp "$rootdir/usr/local/bin/npm" /usr/bin/npm 
			 | 
		
	
		
			
			| 
				
			 | 
			
				184
			 | 
			
			
				+        cp "$rootdir/usr/local/bin/npm" "$rootdir/usr/bin/npm" 
			 | 
		
	
		
			
			| 
				185
			 | 
			
				185
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				186
			 | 
			
				186
			 | 
			
			
				     cp "$rootdir/usr/bin/npm" "$rootdir/root/npm" 
			 | 
		
	
		
			
			| 
				187
			 | 
			
				187
			 | 
			
			
				     if [ -f "$rootdir/usr/bin/node" ]; then 
			 |