aboutsummaryrefslogtreecommitdiff
path: root/network/graphite-carbon/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/graphite-carbon/doinst.sh')
-rw-r--r--network/graphite-carbon/doinst.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/network/graphite-carbon/doinst.sh b/network/graphite-carbon/doinst.sh
index c521772f82005..b11adc4f0ffeb 100644
--- a/network/graphite-carbon/doinst.sh
+++ b/network/graphite-carbon/doinst.sh
@@ -22,6 +22,5 @@ preserve_perms() {
config $NEW
}
-preserve_perms etc/rc.d/rc.carbon-cache.new
-config etc/logrotate.d/graphite-carbon.new
-for i in etc/carbon/*.new ; do config $i ; done
+for i in etc/rc.d/rc.carbon-*.new ; do preserve_perms $i ; done
+for i in etc/carbon/*.new etc/logrotate.d/graphite-carbon.new ; do config $i ; done