1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00
This commit is contained in:
yalh76 2020-05-29 13:27:08 +02:00
parent 26cde22f59
commit d99521b12f
2 changed files with 4 additions and 1 deletions

View file

@ -218,6 +218,8 @@ popd
cat "../conf/ldap.exs" >> "$config"
ynh_replace_string --match_string="config :pleroma, configurable_from_database: false" --replace_string="config :pleroma, configurable_from_database: true" --target_file="$config"
pushd $final_path/$app
su "$app" -s $SHELL -lc "$final_path/$app/bin/pleroma_ctl migrate"

View file

@ -174,7 +174,8 @@ fi
if ynh_version_gt "2.0.5~ynh1" "${previous_version}" ; then
config="/etc/$app/config.exs"
cat "../conf/ldap.exs" "$config"
cat "../conf/ldap.exs" >> "$config"
ynh_replace_string --match_string="config :pleroma, configurable_from_database: false" --replace_string="config :pleroma, configurable_from_database: true" --target_file="$config"
fi
#=================================================