Dr. Werner Fink 2020-02-05 06:57:28 +00:00 committed by Git OBS Bridge
parent dbd7350a97
commit 740c324db0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 5 06:56:24 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Check passwd not group file for user mktex
-------------------------------------------------------------------
Tue Feb 4 12:20:03 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -15387,8 +15387,8 @@ popd
%endif
%pre
%{_bindir}/getent group %{texgrp} > /dev/null 2>&1 || %{_sbindir}/groupadd -r %{?texgid:-g %texgid} %{texgrp}
%{_bindir}/getent group %{texusr} > /dev/null 2>&1 || %{_sbindir}/useradd -r %{?texuid:-u %texuid} -g %{texgrp} -d %{_fontcache} -s /bin/false %{texusr}
%{_bindir}/getent group %{texgrp} > /dev/null 2>&1 || %{_sbindir}/groupadd -r %{?texgid:-g %texgid} %{texgrp}
%{_bindir}/getent passwd %{texusr} > /dev/null 2>&1 || %{_sbindir}/useradd -r %{?texuid:-u %texuid} -g %{texgrp} -d %{_fontcache} -s /bin/false %{texusr}
# the ls-R file on update
error=0
for dir in %{_texmfconfdir} \