SHA256
1
0
forked from pool/rtkit

Accepting request 260558 from home:Ledest:misc

fix bashism in pre script

OBS-URL: https://build.opensuse.org/request/show/260558
OBS-URL: https://build.opensuse.org/package/show/Base:System/rtkit?expand=0&rev=26
This commit is contained in:
Marcus Meissner 2014-11-10 10:16:43 +00:00 committed by Git OBS Bridge
parent b1331808bd
commit ef01354050
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 23:38:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 27 13:28:28 UTC 2014 - meissner@suse.com Thu Feb 27 13:28:28 UTC 2014 - meissner@suse.com

View File

@ -80,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%pre %pre
groupadd -r rtkit &>/dev/null || : groupadd -r rtkit >/dev/null 2>&1 || :
/usr/bin/id rtkit >/dev/null 2>&1 || \ /usr/bin/id rtkit >/dev/null 2>&1 || \
useradd -r -g rtkit -c 'RealtimeKit' -s /bin/false -d /proc rtkit useradd -r -g rtkit -c 'RealtimeKit' -s /bin/false -d /proc rtkit