From 5143588a311069152a202a80de48d07fc5f5fca8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 22 Mar 2021 20:42:32 +0100 Subject: [PATCH] Adding checksum after Donation --- scripts/install | 2 ++ scripts/upgrade | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 4c3f7b7..cdcd2d7 100755 --- a/scripts/install +++ b/scripts/install @@ -154,6 +154,8 @@ for price in $(echo $prices | sed "s/,/ /"); do echo "DONATION['$frequency']['$currency'] = '$price_id'" >> "$final_path/settings.py" done +ynh_store_file_checksum --file="$final_path/settings.py" + #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 41e1ebb..2428f02 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -146,6 +146,8 @@ for price in $(echo $prices | sed "s/,/ /"); do echo "DONATION['$frequency']['$currency'] = '$price_id'" >> "$final_path/settings.py" done +ynh_store_file_checksum --file="$final_path/settings.py" + #================================================= # GENERIC FINALIZATION #=================================================