Skip to content

Commit

Permalink
Merge pull request statsd#544 from easybiblabs/t/postinst
Browse files Browse the repository at this point in the history
Fix: only install production dependencies
  • Loading branch information
mrtazz committed Oct 30, 2015
2 parents 090e427 + ef92150 commit 1f77511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

if [ "$1" = configure ]; then
# Automatically added by dh_installinit
(cd /usr/share/statsd && /usr/bin/npm install)
(cd /usr/share/statsd && /usr/bin/npm install --production)

if ! getent passwd _statsd > /dev/null; then
adduser --system --quiet --home /nonexistent --no-create-home \
Expand Down

0 comments on commit 1f77511

Please sign in to comment.