mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix case of missing system folder
This commit is contained in:
parent
f1ea723f44
commit
95a5efb608
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +172,9 @@ then
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
|
|
||||||
mkdir $tmpdir/system
|
mkdir $tmpdir/system
|
||||||
rsync -a "$final_path/live/public/system" "$tmpdir/."
|
if [ -d "$final_path/live/public/system" ]; then
|
||||||
|
rsync -a "$final_path/live/public/system" "$tmpdir/."
|
||||||
|
fi
|
||||||
rsync -a "$final_path/live/.env.production" "$tmpdir/."
|
rsync -a "$final_path/live/.env.production" "$tmpdir/."
|
||||||
ynh_secure_remove --file="$final_path/live/"
|
ynh_secure_remove --file="$final_path/live/"
|
||||||
ynh_setup_source --dest_dir="$final_path/live"
|
ynh_setup_source --dest_dir="$final_path/live"
|
||||||
|
|
Loading…
Reference in a new issue