Skip to content

Commit 5403fe8

Browse files
committed
[scripts] permission fix
1 parent cbedef1 commit 5403fe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/countly.install_rhel.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if grep -q -i "release 6" /etc/redhat-release ; then
8787
fi
8888

8989
#install grunt & npm modules
90-
( cd $DIR/.. ; npm install -g grunt-cli --unsafe-perm ; npm install --unsafe-perm )
90+
( cd $DIR/.. ; sudo npm install -g grunt-cli --unsafe-perm ; sudo npm install --unsafe-perm )
9191

9292
#install mongodb
9393
bash $DIR/scripts/mongodb.install.sh

bin/countly.install_ubuntu.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fi
6666
apt-get -y install sendmail
6767

6868
#install grunt & npm modules
69-
( cd $DIR/.. ; npm install -g grunt-cli --unsafe-perm ; npm install --unsafe-perm)
69+
( cd $DIR/.. ; sudo npm install -g grunt-cli --unsafe-perm ; sudo npm install --unsafe-perm)
7070

7171
#install mongodb
7272
if [ "$INSIDE_DOCKER_NOMONGO" != "1" ]

0 commit comments

Comments
 (0)