summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/webalizer/files/2.01.10/reconfig')
-rw-r--r--app-admin/webalizer/files/2.01.10/reconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-admin/webalizer/files/2.01.10/reconfig b/app-admin/webalizer/files/2.01.10/reconfig
new file mode 100644
index 000000000000..dc50871fcb5b
--- /dev/null
+++ b/app-admin/webalizer/files/2.01.10/reconfig
@@ -0,0 +1,4 @@
+#!/bin/bash
+if [ $1 = "start" -o $1 = "install" ]; then
+ sed -e "s|/var/www/webalizer|${MY_INSTALLDIR}|" -i /etc/webalizer.conf
+fi