1
0
Fork 0
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:
yalh76 2019-11-22 23:24:09 +01:00
parent f1ea723f44
commit 95a5efb608

View file

@ -172,7 +172,9 @@ then
tmpdir="$(mktemp -d)"
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/."
ynh_secure_remove --file="$final_path/live/"
ynh_setup_source --dest_dir="$final_path/live"