From 740c324db0e478ff39893c0c1138cd4585ff37e0455741d56fcbdebbe6b2d40e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 5 Feb 2020 06:57:28 +0000 Subject: [PATCH] s/group/passwd/ OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=125 --- texlive-filesystem.changes | 5 +++++ texlive-filesystem.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/texlive-filesystem.changes b/texlive-filesystem.changes index 455d980..4e0456f 100644 --- a/texlive-filesystem.changes +++ b/texlive-filesystem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 5 06:56:24 UTC 2020 - Dr. Werner Fink + +- Check passwd not group file for user mktex + ------------------------------------------------------------------- Tue Feb 4 12:20:03 UTC 2020 - Dr. Werner Fink diff --git a/texlive-filesystem.spec b/texlive-filesystem.spec index d6d4c65..fa097b7 100644 --- a/texlive-filesystem.spec +++ b/texlive-filesystem.spec @@ -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} \