mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
Missing domain parameter & cleaning
This commit is contained in:
parent
afd1e6d5f2
commit
783ad1e1c9
1 changed files with 5 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
|
||||||
|
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
# Source app helpers
|
# Source app helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
@ -60,7 +59,10 @@ REMOVE_BDD () { # Suppression de la base de donnée et de l'utilisateur associé
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
db_name=$(ynh_app_setting_get $app db_name)
|
# We retrieve app parameters
|
||||||
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
db_name=$(ynh_app_setting_get "$app" db_name)
|
||||||
|
|
||||||
REMOVE_BDD "$db_name"
|
REMOVE_BDD "$db_name"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue