From cace46ec2d9728942e1fb71f9f23be17dda51207 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Fri, 18 Oct 2013 23:46:35 +0200 Subject: [PATCH] [packaging] install only one copy of logrotate.conf --- pkg/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/build.sh b/pkg/build.sh index 1f039e5e9..049857e99 100755 --- a/pkg/build.sh +++ b/pkg/build.sh @@ -59,7 +59,7 @@ case $os@$release in mkdir -p $destdir/var/run/logstash mkdir -p $destdir/var/log/logstash cp $os/sysconfig $destdir/etc/sysconfig/logstash - install -m644 logrotate.conf $destdir/etc/logrotate.d/ + install -m644 logrotate.conf $destdir/etc/logrotate.d/logstash install -m755 logstash.sysv.redhat $destdir/etc/init.d/logstash ;; ubuntu@*) @@ -108,7 +108,7 @@ case $os in --before-remove centos/before-remove.sh \ --after-install centos/after-install.sh \ --config-files /etc/sysconfig/logstash \ - --config-files /etc/logrotate.d/logrotate.conf \ + --config-files /etc/logrotate.d/logstash \ -f -C $destdir . ;; ubuntu|debian) @@ -130,7 +130,7 @@ case $os in --after-install $os/after-install.sh \ --config-files /etc/default/logstash \ --config-files /etc/default/logstash-web \ - --config-files /etc/logrotate.d/logrotate.conf \ + --config-files /etc/logrotate.d/logstash \ -f -C $destdir . ;; esac