Skip to content

Commit

Permalink
need to call yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
Jess Portnoy committed Jun 4, 2020
1 parent 96190dc commit 8bea7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RPM/SPECS/kaltura-playkit-bundler.spec
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fi


%post
cd %{prefix} && npm install yarn -g && yarn install -g forever gulp@3.9.1
cd %{prefix} && npm install yarn -g && yarn install && yarn install -g forever gulp@3.9.1
/sbin/chkconfig --add %{name}
if [ -r %{kaltura_prefix}/app/configurations/local.ini ];then
SALT=`grep remote_addr_header_salt %{kaltura_prefix}/app/configurations/local.ini|sed 's@^remote_addr_header_salt\s*=\s*\(.*\)$@\1@g'| sed 's@"@@g'`
Expand Down
2 changes: 1 addition & 1 deletion deb/kaltura-playkit-bundler/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ "$1" = "configure" ]; then
fi
mkdir -p $KALTURA_PREFIX/.forever
chown -R $KALTURA_USER:$KALTURA_GROUP $PLAYKIT_PREFIX/log $PLAYKIT_PREFIX/var/run $KALTURA_PREFIX/.forever
cd $PLAYKIT_PREFIX && npm install yarn -g && yarn install -g forever gulp@3.9.1
cd $PLAYKIT_PREFIX && npm install yarn -g && yarn install && yarn global add forever gulp@3.9.1

if [ -r $KALTURA_PREFIX/app/configurations/local.ini ];then
SALT=`grep remote_addr_header_salt $KALTURA_PREFIX/app/configurations/local.ini|sed 's@^remote_addr_header_salt\s*=\s*\(.*\)$@\1@g'| sed 's@"@@g'`
Expand Down

0 comments on commit 8bea7b4

Please sign in to comment.