fix another typo in postun scriptlet

This commit is contained in:
Nikola Forró 2020-04-16 08:21:38 +02:00
parent 33b28e023d
commit 8d182bbbf6

View File

@ -7,7 +7,7 @@
Summary: Linux kernel and C library user-space interface documentation Summary: Linux kernel and C library user-space interface documentation
Name: man-pages Name: man-pages
Version: 5.06 Version: 5.06
Release: 2%{?dist} Release: 3%{?dist}
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
URL: http://www.kernel.org/doc/man-pages/ URL: http://www.kernel.org/doc/man-pages/
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
@ -106,7 +106,7 @@ fi
%postun %postun
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
if [ "$(readlink %{_sysconfdir}/alternatives/man.7.gz+)" == "%{_mandir}/man7/man.%{name}.7.gz" ]; then if [ "$(readlink %{_sysconfdir}/alternatives/man.7.gz)" == "%{_mandir}/man7/man.%{name}.7.gz" ]; then
%{_sbindir}/update-alternatives --set man.7.gz %{_mandir}/man7/man.%{name}.7.gz >/dev/null 2>&1 || : %{_sbindir}/update-alternatives --set man.7.gz %{_mandir}/man7/man.%{name}.7.gz >/dev/null 2>&1 || :
fi fi
fi fi
@ -118,6 +118,9 @@ fi
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Thu Apr 16 2020 Nikola Forró <nforro@redhat.com> - 5.06-3
- Fix another typo in postun scriptlet
* Thu Apr 16 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.06-2 * Thu Apr 16 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.06-2
- Fix typo in postun scriptlet - Fix typo in postun scriptlet