create extension

This commit is contained in:
Bob Mottram 2017-11-06 15:56:36 +00:00
parent cb1b654c7c
commit 1351d72a72
1 changed files with 2 additions and 1 deletions

View File

@ -193,6 +193,7 @@ function pleroma_create_database {
run_system_query_postgresql "ALTER USER pleroma SUPERUSER;"
run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
run_system_query_postgresql "CREATE EXTENSION citext;"
pleroma_secret=config/dev.secret.exs
cp config/dev.exs $pleroma_secret
@ -517,7 +518,7 @@ function install_elixir {
dpkg -i $erlang_package
apt-get -yq update
apt-get -yq install esl-erlang
apt-get -yq install elixir
apt-get -yq install elixir erlang-xmerl
if [ ! -f /usr/local/bin/mix ]; then
echo $'/usr/local/bin/mix not found after elixir installation'