mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Update upgrade
This commit is contained in:
parent
4bc993c0b3
commit
9f3e0bf88a
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ then
|
|||
tmpdir="$(mktemp -d)"
|
||||
|
||||
# Backup the config file and local plugins in the temp dir
|
||||
cp -a "$final_path/config/config.json" "$tmpdir/config.json"
|
||||
#cp -a "$final_path/config/config.json" "$tmpdir/config.json"
|
||||
cp -ar "$final_path/plugins" "$tmpdir/plugins"
|
||||
|
||||
# Remove the app directory securely
|
||||
|
@ -144,7 +144,7 @@ then
|
|||
fi
|
||||
|
||||
# Copy the admin saved settings and plugins from tmp directory to final path
|
||||
cp -a "$tmpdir/config.json" "$final_path/config/config.json"
|
||||
#cp -a "$tmpdir/config.json" "$final_path/config/config.json"
|
||||
cp -ar --no-clobber "$tmpdir/plugins" "$final_path/"
|
||||
|
||||
# Remove the tmp directory securely
|
||||
|
|
Loading…
Add table
Reference in a new issue