aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-22 23:59:16 +0100
committeryalh76 <yalh@yahoo.com>2019-03-22 23:59:16 +0100
commitdddaefcd63215f3416e387dcc2cf94b89c73d682 (patch)
treef24af8095b598b50d66dea93d9617fc5348f1d5a /scripts/remove
parent5cd0ad6b49991cf45a74b4a6c9db3e3bb5e4ebb4 (diff)
downloadmastodon_ynh-dddaefcd63215f3416e387dcc2cf94b89c73d682.tar.gz
mastodon_ynh-dddaefcd63215f3416e387dcc2cf94b89c73d682.tar.bz2
mastodon_ynh-dddaefcd63215f3416e387dcc2cf94b89c73d682.zip
adding ynh_add_secure_repos__2
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/remove b/scripts/remove
index 8880c9c..3436bce 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -9,6 +9,7 @@
source _common.sh
source /usr/share/yunohost/helpers
source ynh_install_ruby
+source ynh_add_secure_repos__2
#=================================================
# LOAD SETTINGS
@@ -77,13 +78,8 @@ ynh_remove_ruby
ynh_remove_app_dependencies
ynh_remove_nodejs
-#=================================================
-# REMOVE APT SOURCES
-#=================================================
-ynh_print_info "Removing apt sources"
-
-ynh_secure_remove "/etc/apt/sources.list.d/jessie-backports.list"
-ynh_secure_remove "/etc/apt/sources.list.d/yarn.list"
+ynh_remove_extra_repo jessie-backports
+ynh_remove_extra_repo yarn
#=================================================
# REMOVE APP MAIN DIR