mirror of
https://github.com/YunoHost-Apps/n8n_ynh.git
synced 2024-09-03 19:55:52 +02:00
commit
c15887704d
5 changed files with 16 additions and 5 deletions
|
@ -19,7 +19,7 @@ n8n is an extendable workflow automation tool. With a fair-code distribution mod
|
|||
|
||||
**Shipped version:** 0.153.0~ynh1
|
||||
|
||||
**Demo:** https://demo.example.com
|
||||
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ n8n is an extendable workflow automation tool. With a fair-code distribution mod
|
|||
|
||||
**Version incluse :** 0.153.0~ynh1
|
||||
|
||||
**Démo :** https://demo.example.com
|
||||
|
||||
|
||||
## Captures d'écran
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"upstream": {
|
||||
"license": "Apache-2.0-with-commons-clause",
|
||||
"website": "https://n8n.io/",
|
||||
"demo": "https://demo.example.com",
|
||||
"admindoc": "https://docs.n8n.io/",
|
||||
"code": "https://github.com/n8n-io/n8n"
|
||||
},
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
nodejs_version=14
|
||||
nodejs_version=16
|
||||
|
||||
n8n_version=0.138.0
|
||||
n8n_version=0.159.1
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -21,6 +21,7 @@ port=$(ynh_app_setting_get --app=$app --key=port)
|
|||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
db_user=$db_name
|
||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||
|
||||
#=================================================
|
||||
# STANDARD REMOVE
|
||||
|
@ -67,6 +68,17 @@ ynh_script_progression --message="Removing $app main directory..." --weight=3
|
|||
# Remove the app directory securely
|
||||
ynh_secure_remove --file="$final_path"
|
||||
|
||||
#=================================================
|
||||
# REMOVE DATA DIR
|
||||
#=================================================
|
||||
|
||||
# Remove the data directory if --purge option is used
|
||||
if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
|
||||
then
|
||||
ynh_script_progression --message="Removing app data directory..." --weight=1
|
||||
ynh_secure_remove --file="$datadir"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue