diff --git a/pkg/build.sh b/pkg/build.sh index 8af78298c3c..ad2b8db2536 100755 --- a/pkg/build.sh +++ b/pkg/build.sh @@ -106,8 +106,8 @@ case $os in --before-install centos/before-install.sh \ --before-remove centos/before-remove.sh \ --after-install centos/after-install.sh \ - --config-files /etc/sysconfig/logstash \ - --config-files /etc/logrotate.d/logstash \ + --config-files etc/sysconfig/logstash \ + --config-files etc/logrotate.d/logstash \ -f -C $destdir . ;; ubuntu|debian)