浏览代码

create extension

Bob Mottram 7 年前
父节点
当前提交
1351d72a72
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/freedombone-app-pleroma

+ 2
- 1
src/freedombone-app-pleroma 查看文件

193
     run_system_query_postgresql "ALTER USER pleroma SUPERUSER;"
193
     run_system_query_postgresql "ALTER USER pleroma SUPERUSER;"
194
     run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
194
     run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
195
     run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
195
     run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
196
+    run_system_query_postgresql "CREATE EXTENSION citext;"
196
 
197
 
197
     pleroma_secret=config/dev.secret.exs
198
     pleroma_secret=config/dev.secret.exs
198
     cp config/dev.exs $pleroma_secret
199
     cp config/dev.exs $pleroma_secret
517
     dpkg -i $erlang_package
518
     dpkg -i $erlang_package
518
     apt-get -yq update
519
     apt-get -yq update
519
     apt-get -yq install esl-erlang
520
     apt-get -yq install esl-erlang
520
-    apt-get -yq install elixir
521
+    apt-get -yq install elixir erlang-xmerl
521
 
522
 
522
     if [ ! -f /usr/local/bin/mix ]; then
523
     if [ ! -f /usr/local/bin/mix ]; then
523
         echo $'/usr/local/bin/mix not found after elixir installation'
524
         echo $'/usr/local/bin/mix not found after elixir installation'