summaryrefslogtreecommitdiff
blob: fd53f2a2b15515b8beabe838cc1790127be5397a (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

if [ $1 = "start" -o $1 = "install" ]; then
	sed -i "s|/usr/lib/mod_survey/webroot/|${VHOST_ROOT}/webroot/|g" /usr/lib/mod_survey/survey.conf
	chown apache:apache /var/lib/mod_survey/data
else
	echo $1
fi