fix %postun error

(cherry picked from commit c93c0cc1a389584fcc5979e5e12d957f81f590f6)
This commit is contained in:
chen-jan 2023-08-28 16:51:06 +08:00 committed by openeuler-sync-bot
parent 311ac68f54
commit 7af0f2b266

View File

@ -1,6 +1,6 @@
Name: nagios
Version: 4.4.13
Release: 1
Release: 2
Summary: Host/service/network monitoring program
License: GPLv2
URL: https://www.nagios.org/projects/nagios-core/
@ -208,7 +208,7 @@ fi
%postun
/usr/bin/systemctl condrestart httpd > /dev/null 2>&1 || :
triggerun -- %{name} < 3.5.1-2
%triggerun -- %{name} < 3.5.1-2
# Save the current service runlevel info
# User must manually run systemd-sysv-convert --apply opensips
# to migrate them to systemd targets
@ -288,6 +288,9 @@ fi
%{_libdir}/%{name}/cgi/
%changelog
* Mon Aug 28 2023 chenchen <chen_aka_jan@163.com> - 4.4.13-2
- fix %postun error
* Thu Jul 27 2023 chenchen <chen_aka_jan@163.com> - 4.4.13-1
- Upgrade to version 4.4.13