From c867f2bfbcaef6ed59293438929c0df0b771e8d9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 12 Mar 2020 22:29:21 +0100 Subject: [PATCH] fix install --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 08eb098..67479b7 100755 --- a/scripts/install +++ b/scripts/install @@ -214,8 +214,11 @@ pushd $final_path/$app --listen-ip 127.0.0.1 \ --listen-port $port \ --db-configurable Y" +popd - cat "../conf/ldap.exs" "$config" +cat "../conf/ldap.exs" "$config" + +pushd $final_path/$app su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate"