aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-24 19:58:27 +0100
committeryalh76 <yalh@yahoo.com>2021-03-24 19:58:27 +0100
commitb07683cc0130e0b5038371472aef015162759961 (patch)
tree0a2f153445f533333423f470b7959ff5be48e46e
parent91ad69fd115476853be326470d230e3798ea8ec0 (diff)
downloadmastodon_ynh-b07683cc0130e0b5038371472aef015162759961.tar.gz
mastodon_ynh-b07683cc0130e0b5038371472aef015162759961.tar.bz2
mastodon_ynh-b07683cc0130e0b5038371472aef015162759961.zip
Fix manually modified file
-rw-r--r--scripts/install2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index a37bbba..0b79b96 100644
--- a/scripts/install
+++ b/scripts/install
@@ -201,6 +201,8 @@ ynh_app_setting_set --app="$app" --key=vapid_private_key --value="$vapid_private
vapid_public_key=$(grep -oP "VAPID_PUBLIC_KEY=\K.+" "$final_path/live/key.txt")
ynh_app_setting_set --app="$app" --key=vapid_public_key --value="$vapid_public_key"
+ynh_delete_file_checksum --file="$config"
+
ynh_add_config --template="../conf/.env.production.sample" --destination="$config"
ynh_secure_remove --file="$final_path/live/key.txt"