diff --git a/README.md b/README.md index 7f5ed00..435221c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ *[Lire ce readme en français.](./README_fr.md)* > *This package allows you to install Grocy quickly and simply on a YunoHost server. -If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* +If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* ## Overview Grocy is a web-based self-hosted groceries & household management solution for your home. diff --git a/README_fr.md b/README_fr.md index d9adaab..bb1701b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -6,7 +6,7 @@ *[Read this readme in english.](./README.md)* > *Ce package vous permet d'installer Grocy rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* +Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) pour apprendre comment l'installer.* ## Vue d'ensemble Grocy is a web-based self-hosted groceries & household management solution for your home. diff --git a/scripts/upgrade b/scripts/upgrade index d2dc13c..b802671 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,22 +69,22 @@ then ynh_script_progression --message="Upgrading source files..." --weight=5 # Create a temporary directory - tmpdir="$(mktemp -d)" + #tmpdir="$(mktemp -d)" # Backup the config file in the temp dir - cp -R "$final_path/data" "$tmpdir/data" + #cp -R "$final_path/data" "$tmpdir/data" # Remove the app directory securely - ynh_secure_remove --file="$final_path" + #ynh_secure_remove --file="$final_path" # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data" # Copy the admin saved settings from tmp directory to final path - cp -RT "$tmpdir/data" "$final_path/data" + #cp -RT "$tmpdir/data" "$final_path/data" # Remove the tmp directory securely - ynh_secure_remove --file="$tmpdir" + #ynh_secure_remove --file="$tmpdir" fi #=================================================