forked from pool/tvheadend
Accepting request 495496 from home:alois:branches:multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/495496 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/tvheadend?expand=0&rev=16
This commit is contained in:
parent
271d526a2a
commit
cb2f021ef1
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 21:28:58 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Fixed %pre
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 10:43:34 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
@ -111,8 +111,7 @@ EOM
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
%{_sbindir}/useradd -u 1337 -g %{htsgroup} -m -d %{homedir} -r -s /bin/false %{htsuser} -c "Tvheadend TV server" &> /dev/null || :
|
||||
%{_sbindir}/passwd -l %{htsuser} &> /dev/null || :
|
||||
getent passwd %htsuser >/dev/null || %{_sbindir}/useradd -g %{htsgroup} -m -d %{homedir} -r -s /bin/false %{htsuser} -c "Tvheadend TV server"
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service
|
||||
|
Loading…
Reference in New Issue
Block a user