- Fix apxs invocation on package install

- Properly clean up httpd.conf on package deinstall
This commit is contained in:
Pav Lucistnik
2007-07-15 19:10:58 +00:00
parent 60cf89a0c0
commit efb38fbb28
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@
PORTNAME= mod_log_dbd
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= www databases
MASTER_SITES= http://bfoz.net/projects/${PORTNAME}/release/
+2 -2
View File
@@ -1,4 +1,4 @@
@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%
%%APACHEMODDIR%%/%%AP_MODULE%%
@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
@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"