mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
Fix cp
This commit is contained in:
parent
cca5dcde1b
commit
cbe521866e
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ then
|
|||
tmpdir="$(mktemp -d)"
|
||||
|
||||
# Backup the env file in the temp dir
|
||||
cp -a "$final_path/.env" "$tmpdir/.env"
|
||||
cp -af "$final_path/.env" "$tmpdir/.env"
|
||||
|
||||
# Remove the app directory securely
|
||||
ynh_secure_remove --file="$final_path"
|
||||
|
@ -144,7 +144,7 @@ then
|
|||
ynh_setup_source --dest_dir="$final_path" --source_id="$architecture"
|
||||
|
||||
#Copy the admin saved settings from tmp directory to final path
|
||||
cp -a "$tmpdir/.env" "$final_path/.env"
|
||||
cp -af "$tmpdir/.env" "$final_path/.env"
|
||||
|
||||
# Remove the tmp directory securely
|
||||
ynh_secure_remove --file="$tmpdir"
|
||||
|
|
Loading…
Reference in a new issue