mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix public/system restoration
This commit is contained in:
parent
bcd3b889af
commit
cbc9f6eabf
1 changed files with 2 additions and 2 deletions
|
@ -169,8 +169,8 @@ then
|
|||
# Download Mastodon
|
||||
mv "$final_path/live" "$final_path/live_back"
|
||||
ynh_setup_source --dest_dir="$final_path/live"
|
||||
if [ -z $final_path/live_back/public/system ]; then
|
||||
rsync -a "$final_path/live_back/public/system" "$final_path/live_back/public/."
|
||||
if [ -d "$final_path/live_back/public/system" ]; then
|
||||
rsync -a "$final_path/live_back/public/system" "$final_path/live/public/."
|
||||
fi
|
||||
rsync -a "$final_path/live_back/.env.production" "$final_path/live/."
|
||||
rm -Rf "$final_path/live_back"
|
||||
|
|
Loading…
Add table
Reference in a new issue