1 2 3 4
if [ $1 = 0 ]; then /usr/sbin/a2chkconfig >/dev/null /sbin/service httpd2 condreload fi
1 2 3 4 5 6 7 8 9 10
if [ $1 = 0 ]; then if [ -x /usr/share/php/scripts/php_preun.sh ]; then export php_servicedir=/usr/share/php/7.2/service export php_sysconfdir=/etc/php/7.2 export php_extconf=/usr/share/php/7.2/extconf export sapiList=apache2-mod_php /usr/share/php/scripts/php_preun.sh fi find /etc/php/7.2/apache2-mod_php -type f -name '*.phpnew' -or -name '*.rpmnew' -delete fi