aboutsummaryrefslogtreecommitdiffstats
path: root/script/install-as-user
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-01-28 18:34:02 +0000
committerLouise Crow <louise.crow@gmail.com>2014-01-28 18:34:02 +0000
commit3ed969e88f60e6a9123a09544e553e48a41dfa12 (patch)
tree6d4521d06d59f37395e9c04d25b11934f9eda161 /script/install-as-user
parentd9136f001e20df18928c1a6818347930fae27a52 (diff)
Set blog and twitter params to empty string0.16.0.6hotfix/0.16.0.6
This is the default value from lib/configuration.rb if they aren't set and null values cause errors when .empty? is called on them.
Diffstat (limited to 'script/install-as-user')
-rwxr-xr-xscript/install-as-user4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/install-as-user b/script/install-as-user
index 4fc341fc6..aaad52145 100755
--- a/script/install-as-user
+++ b/script/install-as-user
@@ -93,8 +93,8 @@ then
-e "s,^( *DOMAIN:).*,\\1 '$HOST'," \
-e "s,^( *FORCE_SSL:).*,\\1 false," \
-e "s,^( *TIME_ZONE:).*,\\1 'Europe/London'," \
- -e "s,^( *BLOG_FEED:).*,\\1 null," \
- -e "s,^( *TWITTER_USERNAME:).*,\\1 null," \
+ -e "s,^( *BLOG_FEED:).*,\\1 ''," \
+ -e "s,^( *TWITTER_USERNAME:).*,\\1 ''," \
-e "s,^( *INCLUDE_DEFAULT_LOCALE_IN_URLS:).*,\\1 false," \
-e "s,^( *INCOMING_EMAIL_DOMAIN:).*,\\1 '$HOST'," \
-e "s,^( *INCOMING_EMAIL_PREFIX:).*,\\1 'foi+'," \