summaryrefslogtreecommitdiffstats
path: root/rebuild-wekan.sh
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-07-10 11:56:50 -0400
committerLauri Ojansivu <x@xet7.org>2019-07-10 11:56:50 -0400
commitbbefc67b5444572fca5ef6b4db0212e3f379c1f1 (patch)
tree490ec7e3f4fdb9238375546aaaa27801abec703b /rebuild-wekan.sh
parentbf24cf48fc71adc80c7a207c08c6cb3c9aa6aab6 (diff)
downloadwekan-bbefc67b5444572fca5ef6b4db0212e3f379c1f1.tar.gz
wekan-bbefc67b5444572fca5ef6b4db0212e3f379c1f1.tar.bz2
wekan-bbefc67b5444572fca5ef6b4db0212e3f379c1f1.zip
Update rebuild-wekan.sh
Diffstat (limited to 'rebuild-wekan.sh')
-rwxr-xr-xrebuild-wekan.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh
index 1005da64..ac46676a 100755
--- a/rebuild-wekan.sh
+++ b/rebuild-wekan.sh
@@ -73,10 +73,11 @@ do
if [[ "$OSTYPE" == "linux-gnu" ]]; then
echo "Linux";
# Debian, Ubuntu, Mint
- sudo apt-get install -y build-essential gcc g++ make git curl wget npm nodejs
- sudo npm -g install npm
- sudo chown wekan:wekan ../../.npm -R
- #curl -0 -L https://npmjs.org/install.sh | sudo sh
+ sudo apt-get install -y build-essential gcc g++ make git curl wget
+ # 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 8.16.0
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
@@ -113,7 +114,7 @@ do
npm_call -g install fibers@4.0.1
# Install Meteor, if it's not yet installed
curl https://install.meteor.com | bash
- sudo chown -R $USER ~/.meteor
+ sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
break
;;
"Build Wekan")