diff --git a/scripts/upgrade b/scripts/upgrade index 4ef8804..0775925 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,8 +112,7 @@ then if [ -d $final_path/var/data ]; then cp -af "$final_path/var/data" "$tmpdir/." fi - $final_path/.env - + cp -a "$final_path/.env" "$tmpdir/.env" # Download, check integrity, uncompress and patch the source from app.src