summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-01-31 17:01:17 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-01-31 17:01:17 +0000
commit5cd66f848775450512dda65530c14b7bc03a5d50 (patch)
tree622022752bf5cd1b52801b528769c033142ed884 /www-apache/mod_survey/files
parentMark 2.7 stable on alpha (diff)
downloadgentoo-2-5cd66f848775450512dda65530c14b7bc03a5d50.tar.gz
gentoo-2-5cd66f848775450512dda65530c14b7bc03a5d50.tar.bz2
gentoo-2-5cd66f848775450512dda65530c14b7bc03a5d50.zip
Fixes for bug #121041, limited support for LINGUAS
(Portage version: 2.1_pre3-r1)
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.txt5
-rw-r--r--www-apache/mod_survey/files/postinstall-en.txt2
-rw-r--r--www-apache/mod_survey/files/reconfig15
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