diff --git a/install/dawarich-install.sh b/install/dawarich-install.sh index cec66c43a..332eb7f0c 100644 --- a/install/dawarich-install.sh +++ b/install/dawarich-install.sh @@ -78,11 +78,9 @@ $STD bundle config set --local deployment 'true' $STD bundle config set --local without 'development test' $STD bundle install -if [[ -f /opt/dawarich/package.json ]]; then - cd /opt/dawarich - $STD npm install - cd /opt/dawarich/app -fi +cd /opt/dawarich +$STD npm install +cd /opt/dawarich/app $STD bundle exec rake assets:precompile $STD bundle exec rails db:prepare