Browse Source

Updated rebuild-wekan.sh script about installing dependencies.

Thanks to xet7 !
Lauri Ojansivu 3 years ago
parent
commit
9979193df5
1 changed files with 6 additions and 5 deletions
  1. 6 5
      rebuild-wekan.sh

+ 6 - 5
rebuild-wekan.sh

@@ -23,14 +23,15 @@ do
 	                echo "Linux";
 			# Debian, Ubuntu, Mint
 			sudo apt-get install -y build-essential gcc g++ make git curl wget p7zip-full zip unzip unp
-      curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
-      sudo apt-get install -y nodejs
+			#curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
+			#sudo apt-get install -y nodejs
+			sudo apt-get install -y npm
 			# npm nodejs
-			#sudo npm -g install npm
 			#curl -0 -L https://npmjs.org/install.sh | sudo sh
 			#sudo chown -R $(id -u):$(id -g) $HOME/.npm
-			#sudo npm -g install n
-			#sudo n 12.22.8
+			sudo npm -g install n
+			sudo n 12.22.8
+			sudo npm -g install npm
 		elif [[ "$OSTYPE" == "darwin"* ]]; then
 		        echo "macOS";
 			pause '1) Install XCode 2) Install Node 12.x from https://nodejs.org/en/ 3) Press [Enter] key to continue.'