diff options
Diffstat (limited to 'www-apache/mod_survey/files')
-rw-r--r-- | www-apache/mod_survey/files/digest-mod_survey-3.2.3-r1 (renamed from www-apache/mod_survey/files/digest-mod_survey-3.2.3) | 0 | ||||
-rw-r--r-- | www-apache/mod_survey/files/language-list.txt | 5 | ||||
-rw-r--r-- | www-apache/mod_survey/files/postinstall-en.txt | 2 | ||||
-rw-r--r-- | www-apache/mod_survey/files/reconfig | 15 |
4 files changed, 21 insertions, 1 deletions
diff --git a/www-apache/mod_survey/files/digest-mod_survey-3.2.3 b/www-apache/mod_survey/files/digest-mod_survey-3.2.3-r1 index 8ffb8f7569c3..8ffb8f7569c3 100644 --- a/www-apache/mod_survey/files/digest-mod_survey-3.2.3 +++ b/www-apache/mod_survey/files/digest-mod_survey-3.2.3-r1 diff --git a/www-apache/mod_survey/files/language-list.txt b/www-apache/mod_survey/files/language-list.txt new file mode 100644 index 000000000000..d81291db4473 --- /dev/null +++ b/www-apache/mod_survey/files/language-list.txt @@ -0,0 +1,5 @@ +en +de +fr +it +sw diff --git a/www-apache/mod_survey/files/postinstall-en.txt b/www-apache/mod_survey/files/postinstall-en.txt index ec2278a04f01..5fbe29c5a59c 100644 --- a/www-apache/mod_survey/files/postinstall-en.txt +++ b/www-apache/mod_survey/files/postinstall-en.txt @@ -1,4 +1,4 @@ -0. Copy /usr/lib/mod_survey/survey.conf to your Apache modules directory. +0. Copy ${VHOST_ROOT}/${PN}/survey.conf to your Apache modules directory. 1. Restart Apache and test your installation: http://${VHOST_HOSTNAME}/mod_survey diff --git a/www-apache/mod_survey/files/reconfig b/www-apache/mod_survey/files/reconfig new file mode 100644 index 000000000000..92774268f8c2 --- /dev/null +++ b/www-apache/mod_survey/files/reconfig @@ -0,0 +1,15 @@ +#!/bin/bash + +die() { + echo "#####" + echo $1 + echo "#####" + exit 1 +} + +if [ $1 = "install" ]; then + sed -e "s|/usr/lib/mod_survey/webroot/|${VHOST_ROOT}/${PN}/|g" -i ${VHOST_ROOT}/${PN}/survey.conf || die + +elif [ $1 = "clean" ]; then + echo $1 +fi |