mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Fix #109
This commit is contained in:
parent
26cde22f59
commit
d99521b12f
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue