Updated rebuild-wekan.sh script about installing dependencies.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2022-01-05 18:56:07 +02:00
parent bee9dc8b3e
commit 9979193df5

View file

@ -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.'