From 6f7292db5e8427fb63305e1e0e41d2337d8d9a60 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 8 Jan 2022 22:15:48 +0200 Subject: [PATCH] Updated rebuild-wekan.sh --- rebuild-wekan.sh | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh index d8d150c9b..8dfbdff3a 100755 --- a/rebuild-wekan.sh +++ b/rebuild-wekan.sh @@ -20,7 +20,7 @@ do "Install Wekan dependencies") if [[ "$OSTYPE" == "linux-gnu" ]]; then - echo "Linux"; + 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 - @@ -32,6 +32,14 @@ do sudo npm -g install n sudo n 12.22.8 sudo npm -g install npm + ## Latest npm with Meteor 2.2 + sudo npm -g install node-gyp + # Latest fibers for Meteor 2.2 + sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp + sudo npm -g install fibers + # Install Meteor, if it's not yet installed + sudo npm install -g meteor --unsafe-perm + #sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor 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.' @@ -56,16 +64,6 @@ do exit; fi - ## Latest npm with Meteor 2.2 - sudo npm -g install npm - sudo npm -g install node-gyp - # Latest fibers for Meteor 2.2 - sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp - sudo npm -g install fibers - # Install Meteor, if it's not yet installed - sudo npm install -g meteor --unsafe-perm - #curl https://install.meteor.com | bash - #sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor break ;;