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
This commit is contained in:
Marcus Meissner 2014-11-10 16:14:14 +00:00 committed by Git OBS Bridge
parent 50ed0e3eef
commit ec085b0f7a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 10 01:14:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in post script
-------------------------------------------------------------------
Sun May 11 05:56:19 UTC 2014 - coolo@suse.com

View File

@ -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