From ec085b0f7afbe9d245df08751cde36a3a279f3f07a2cd5e39eaeb3d2f6eff2e3 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 10 Nov 2014 16:14:14 +0000 Subject: [PATCH] Accepting request 260571 from home:Ledest:misc fix bashism in post script OBS-URL: https://build.opensuse.org/request/show/260571 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=34 --- pcp.changes | 5 +++++ pcp.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pcp.changes b/pcp.changes index 4019b1d..3bf508f 100644 --- a/pcp.changes +++ b/pcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 10 01:14:00 UTC 2014 - Led + +- fix bashism in post script + ------------------------------------------------------------------- Sun May 11 05:56:19 UTC 2014 - coolo@suse.com diff --git a/pcp.spec b/pcp.spec index 175a38e..59c2964 100644 --- a/pcp.spec +++ b/pcp.spec @@ -360,7 +360,9 @@ exit 0 %{?insserv_cleanup:%{insserv_cleanup}} %post -chown -R pcp:pcp /var/log/pcp/{pmcd,pmlogger,pmie,pmproxy} 2>/dev/null +for i in cd logger ie proxy; do + chown -R pcp:pcp /var/log/pcp/pm$i 2>/dev/null +done /sbin/ldconfig %if 0%{?suse_version} < 1131 %run_permissions