1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoview_ynh.git synced 2024-09-03 20:05:55 +02:00

Fix upgrade

This commit is contained in:
yalh76 2021-08-28 01:46:21 +02:00
parent 245ee63f59
commit 19acd20c90

View file

@ -70,7 +70,7 @@ if ynh_legacy_permissions_exists; then
fi
# If .env doesn't exist at right destination, move it
if [ -f "$final_path/.env" ]; then
if [ ! -f "$final_path/.env" ]; then
tmpdir="$(mktemp -d)"
ynh_delete_file_checksum --file="$final_path/output/.env"