aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-04 01:45:43 +0100
committerGitHub <noreply@github.com>2021-03-04 01:45:43 +0100
commit1d258ddb722f29159e506c1c4fd8a8bc052afe89 (patch)
tree7cfa047ff7cea00dfde46e12d3a39cb94f69358a /scripts/remove
parent27eafa9fd59c56ab915f03d080980bd1ab156590 (diff)
parentfcef659e0d6af040860828ffdbce5d488cbbd376 (diff)
downloadmastodon_ynh-1d258ddb722f29159e506c1c4fd8a8bc052afe89.tar.gz
mastodon_ynh-1d258ddb722f29159e506c1c4fd8a8bc052afe89.tar.bz2
mastodon_ynh-1d258ddb722f29159e506c1c4fd8a8bc052afe89.zip
Merge pull request #259 from YunoHost-Apps/example
Implement ynh_add_config
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remove b/scripts/remove
index 0c71d04..6b16380 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -20,7 +20,7 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain)
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
-db_user=$app
+db_user=$(ynh_sanitize_dbid --db_name=$app)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================