1
0
Fork 0
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:
Éric Gaspar 2022-06-28 23:16:47 +02:00
parent 4bc993c0b3
commit 9f3e0bf88a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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