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 (#66)

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

Fix #65

* Change version number
This commit is contained in:
lapineige 2021-02-28 14:20:33 +01:00 committed by GitHub
parent 5b0271a6d4
commit bb64f6820c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"en": "The personal, minimalist, super-fast, no-database delicious clone",
"fr": "Clone de delicious, rapide, simple et sans base de données."
},
"version": "0.12.1~ynh1",
"version": "0.12.1~ynh2",
"url": "https://github.com/shaarli/Shaarli",
"license": "MIT",
"maintainer": {

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"