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

Don't override (new) official templates with old ones

Fix #65
This commit is contained in:
lapineige 2020-12-28 12:24:29 +01:00 committed by GitHub
parent 037f154118
commit a17625dc67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ then
ynh_setup_source --dest_dir="$final_path"
cp -a "$tmpdir/data" "$final_path/"
cp -a "$tmpdir/tpl" "$final_path/"
cp -a -n "$tmpdir/tpl" "$final_path/" # copy without erasing existing templates (from official source)
# Remove the tmp directory securely
ynh_secure_remove --file="$tmpdir"