SHA256
1
0
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:
Tomas Cech 2017-05-17 05:51:10 +00:00 committed by Git OBS Bridge
parent 271d526a2a
commit cb2f021ef1
2 changed files with 6 additions and 2 deletions

View File

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

View File

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