mirror of https://github.com/tteck/Proxmox.git
				
				
				
			change Node.js install
This commit is contained in:
		
							parent
							
								
									8ec659a80a
								
							
						
					
					
						commit
						0b33dd4a6a
					
				| 
						 | 
					@ -35,14 +35,14 @@ msg_info "Installing Node.js"
 | 
				
			||||||
#TODO script crashes at this point, attempt to install as immich user
 | 
					#TODO script crashes at this point, attempt to install as immich user
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#$STD su immich -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash"
 | 
					#$STD su immich -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash"
 | 
				
			||||||
su -p -s /usr/bin/bash -c "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)" immich 
 | 
					su immich -p -s /usr/bin/bash -c "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)" 
 | 
				
			||||||
su -p -s /usr/bin/bash -c "source ~/.bashrc" immich
 | 
					su immich -p -s /usr/bin/bash -c "source ~/.bashrc"
 | 
				
			||||||
#su immich <<EOF
 | 
					#su immich <<EOF
 | 
				
			||||||
#export NVM_DIR="\$HOME/.nvm"
 | 
					#export NVM_DIR="\$HOME/.nvm"
 | 
				
			||||||
#[ -s "\$NVM_DIR/nvm.sh" ] && \. "\$NVM_DIR/nvm.sh"
 | 
					#[ -s "\$NVM_DIR/nvm.sh" ] && \. "\$NVM_DIR/nvm.sh"
 | 
				
			||||||
#[ -s "\$NVM_DIR/bash_completion" ] && \. "\$NVM_DIR/bash_completion"
 | 
					#[ -s "\$NVM_DIR/bash_completion" ] && \. "\$NVM_DIR/bash_completion"
 | 
				
			||||||
#EOF
 | 
					#EOF
 | 
				
			||||||
su -p -s /usr/bin/bash -c "nvm install 20" immich
 | 
					su immich -p -s /usr/bin/bash -c "nvm install 20"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
 | 
					#$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
 | 
				
			||||||
#export PS1=$'\h:\w\$'
 | 
					#export PS1=$'\h:\w\$'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue