use apachectl instead of systemd to reload httpd service [release 4.9.2-2mamba;Sun Nov 24 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 10:00:38 +01:00
parent f4627fb643
commit 2925231ca5

View File

@ -19,7 +19,7 @@
Name: %{?sitename:%sitename-}phpmyadmin
Version: 4.9.2
Release: 1mamba
Release: 2mamba
Summary: MySQL administration tool
Group: Applications/Databases
Vendor: openmamba
@ -169,14 +169,14 @@ if [ $1 -eq 1 ]; then
sed -i "s|\(\$cfg\['blowfish_secret'\] = \)''|\1'$password'|" %{installdir}/config.inc.php
fi
if [ $1 -ge 1 ]; then
service httpd reload
/usr/sbin/apachectl graceful
fi
:
%postun
# uninstall
if [ $1 -eq 0 ]; then
service httpd reload
/usr/sbin/apachectl graceful
fi
:
@ -216,6 +216,9 @@ rm -f .core .themes
# scripts/*.sql
%changelog
* Sun Nov 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.2-2mamba
- use apachectl instead of systemd to reload httpd service
* Fri Nov 22 2019 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
- automatic version update by autodist