helper: fix previous tweak about debugging diff for manually modified files on the CI @_@

This commit is contained in:
Alexandre Aubin 2023-03-01 08:06:15 +01:00
parent 9b1f4c9e1b
commit c24c0a2ae1

View file

@ -330,6 +330,7 @@ ynh_store_file_checksum() {
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
# Using a base64 is in fact more reversible than "replace / and space by _" ... So we can in fact obtain the original file path in an easy reliable way ...
local file_path_base64=$(echo "$file" | base64)
mkdir -p /var/cache/yunohost/appconfbackup/
cat $file > /var/cache/yunohost/appconfbackup/original_${file_path_base64}
fi