1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Fix upgrade script not cleaning previous build files (fix #134)

This commit is contained in:
Nicolas Frandeboeuf 2022-07-15 15:02:41 +00:00
parent b71f3c2a3b
commit 2e00fbf488
4 changed files with 7 additions and 3 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Kresus is an open-source libre self-hosted personal finance manager. It allows you to safely track your banking history, check your overall balance and know exactly how you are spending money using categories!
**Shipped version:** 0.18.1~ynh5
**Shipped version:** 0.18.1~ynh6
## Screenshots

View file

@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Kresus est un gestionnaire de finances personnelles gratuit et libre qui tourne sur votre serveur. Il récupère automatiquement et quotidiennement toutes vos nouvelles transactions bancaires et vous permet de les catégoriser, étudier via des graphiques, et établir un budget.
**Version incluse :** 0.18.1~ynh5
**Version incluse :** 0.18.1~ynh6
## Captures d'écran

View file

@ -6,7 +6,7 @@
"en": "Personal finance manager",
"fr": "Outil personnel de gestion de finances"
},
"version": "0.18.1~ynh5",
"version": "0.18.1~ynh6",
"url": "https://framagit.org/kresusapp/kresus",
"upstream": {
"license": "free",

View file

@ -105,6 +105,10 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..."
# Remove previous build files to ensure there is no conflict (obsolete helpers.js file
# called instead of helpers/index.js for ex.)
ynh_secure_remove --file="$final_path/build"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"