Accepting request 260429 from home:Ledest:misc

fix bashisms in pre script

OBS-URL: https://build.opensuse.org/request/show/260429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=20
This commit is contained in:
Matwey Kornilov 2014-11-09 07:51:41 +00:00 committed by Git OBS Bridge
parent c9ead90315
commit f9fe99f142
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 03:36:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashisms in pre script
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 17 12:18:17 UTC 2014 - matwey.kornilov@gmail.com Wed Sep 17 12:18:17 UTC 2014 - matwey.kornilov@gmail.com

View File

@ -389,8 +389,8 @@ install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
%pre epmd %pre epmd
/usr/sbin/groupadd -r epmd &>/dev/null || : /usr/sbin/groupadd -r epmd >/dev/null 2>&1 || :
/usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd &>/dev/null || : /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd >/dev/null 2>&1 || :
%if 0%{?have_systemd} %if 0%{?have_systemd}
%service_add_pre epmd.service epmd.socket %service_add_pre epmd.service epmd.socket
%endif %endif