aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-04-23 13:05:33 +0200
committerGitHub <noreply@github.com>2021-04-23 13:05:33 +0200
commit27e1471e45b09cbe188eab46ecbff2079a6ba4a0 (patch)
treeabd1fafb44d4830bb7e75da7f8a3e0fa3e19401f /scripts/remove
parenta7eb98db3fac0697b923072dcd78c1ca04bf0a12 (diff)
parente2a23d46f649505a9ece78e1b3e4f0fd73196539 (diff)
downloadmastodon_ynh-27e1471e45b09cbe188eab46ecbff2079a6ba4a0.tar.gz
mastodon_ynh-27e1471e45b09cbe188eab46ecbff2079a6ba4a0.tar.bz2
mastodon_ynh-27e1471e45b09cbe188eab46ecbff2079a6ba4a0.zip
Merge pull request #263 from YunoHost-Apps/testing
ynh_install_ruby__2
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/remove b/scripts/remove
index 6b16380..42b0109 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -29,7 +29,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
-# Remove the service from the list of services known by Yunohost (added from `yunohost service add`)
+# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status "$app-web" >/dev/null
then
ynh_script_progression --message="Removing $app-web service integration..."
@@ -64,7 +64,7 @@ ynh_remove_systemd_config --service="$app-streaming"
ynh_script_progression --message="Removing the PostgreSQL database..."
# Remove a database if it exists, along with the associated user
-ynh_psql_remove_db --db_user="$db_user" --db_name="$db_name"
+ynh_psql_remove_db --db_user=$db_user --db_name=$db_name
#=================================================
# REMOVE DEPENDENCIES
@@ -73,8 +73,8 @@ ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies
ynh_remove_ruby
-ynh_remove_app_dependencies
ynh_remove_nodejs
+ynh_remove_app_dependencies
ynh_remove_extra_repo
#=================================================
@@ -88,9 +88,9 @@ ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================
-ynh_script_progression --message="Removing nginx web server configuration..."
+ynh_script_progression --message="Removing NGINX web server configuration..."
-# Remove the dedicated nginx config
+# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================