From d2dd1069da7d8994c8a34887c1a67499b7cd6709 Mon Sep 17 00:00:00 2001 From: lipengyu Date: Thu, 4 Jul 2024 13:51:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3info=20mkdir=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E4=B8=8D=E5=8F=AF=E7=94=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- glibc.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/glibc.spec b/glibc.spec index 65621d9..65b57e5 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1307,6 +1307,16 @@ if [ -L %{_prefix}/include/scsi ] ; then rm -f %{_prefix}/include/scsi fi +%if %{with docs} +%post help +/sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || : + +%preun help +if [ "$1" = 0 ]; then + /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || : +fi +%endif + %pre -n nscd getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd getent passwd nscd >/dev/null || -- Gitee