1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00

Fix issue in change-url script

This commit is contained in:
Fabian Wilkens 2021-02-11 02:22:22 +01:00
parent 5c85dcb47e
commit 6379703dfe
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB

View file

@ -123,12 +123,8 @@ if [ $change_domain -eq 1 ]
then
new_mail="$app@$new_domain"
ynh_replace_string --match_string="$mail" --replace_string="$new_mail" --target_file="$final_path/live/app/mailers/application_mailer.rb"
ynh_replace_string --match_string="$domain" --replace_string="$new_domain" --target_file="$final_path/live/app/views/user_mailer/welcome.html.erb"
fi
if [ $change_path -eq 1 ]
then
ynh_replace_string --match_string="$path_url" --replace_string="$new_path" --target_file="$final_path/live/app/views/user_mailer/welcome.html.erb"
fi
ynh_replace_string --match_string="$old_domain$old_path" --replace_string="$new_domain$new_path" --target_file="$final_path/live/app/views/user_mailer/welcome.html.erb"
#=================================================
# Modify Standard Notes - Extensions