mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
efb38fbb28
- Properly clean up httpd.conf on package deinstall
5 lines
294 B
Plaintext
5 lines
294 B
Plaintext
%%APACHEMODDIR%%/%%AP_MODULE%%
|
|
@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
|
|
@unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
|
|
@unexec echo "Don't forget to remove all mod_%%AP_NAME%% related directives in your httpd.conf"
|