From ef92150159ebd02909c08aa8b8463ed62defbb07 Mon Sep 17 00:00:00 2001 From: till Date: Fri, 23 Oct 2015 02:06:00 +0200 Subject: [PATCH] Fix: only install production dependencies --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index ed3b4bb..31efff9 100755 --- a/debian/postinst +++ b/debian/postinst @@ -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 \