From a85d57f30eff91baff299d6d760536dd3925ec14 Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Thu, 3 Jul 2014 15:55:42 +0100 Subject: [PATCH] Fix PuPHPet install script to use correct local domain. --- puphpet/files/exec-once/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puphpet/files/exec-once/install.sh b/puphpet/files/exec-once/install.sh index f4c9e172cf..befd81e78a 100644 --- a/puphpet/files/exec-once/install.sh +++ b/puphpet/files/exec-once/install.sh @@ -17,8 +17,8 @@ sed -i 's/define ("BASEDIR","\/home\/user\/theyworkforyou\/docs");/define ("BASE sed -i 's/define ("RAWDATA", "\/home\/twfy\/pwdata\/");/define ("RAWDATA", "\/data\/twfy\/uml-tests\/parldata\/");/g' /data/twfy/conf/general sed -i "s/define ('PWMEMBERS', '\/home\/twfy\/parlparse\/members\/');/define ('PWMEMBERS', '\/data\/parlparse\/members\/');/g" /data/twfy/conf/general -sed -i 's/define ("DOMAIN", "www.example.org");/define ("DOMAIN", "www.theyworkforyou.dev");/g' /data/twfy/conf/general -sed -i 's/define ("COOKIEDOMAIN", "www.example.org");/define ("COOKIEDOMAIN", "www.theyworkforyou.dev");/g' /data/twfy/conf/general +sed -i 's/define ("DOMAIN", "www.example.org");/define ("DOMAIN", "theyworkforyou.dev");/g' /data/twfy/conf/general +sed -i 's/define ("COOKIEDOMAIN", "www.example.org");/define ("COOKIEDOMAIN", "theyworkforyou.dev");/g' /data/twfy/conf/general mkdir /data/parlparse git clone https://github.com/mysociety/parlparse.git /data/parlparse