aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-20 02:31:15 +0100
committeryalh76 <yalh@yahoo.com>2019-03-20 02:31:15 +0100
commitf3f4efec783c2eaa439508bcaa63e960bc21bdd3 (patch)
treef7a82623cf852f099094da004f3af60a53e1383d /scripts/remove
parent268b3df87be6d55eef68e0ba93dc228c92f947e3 (diff)
downloadmastodon_ynh-f3f4efec783c2eaa439508bcaa63e960bc21bdd3.tar.gz
mastodon_ynh-f3f4efec783c2eaa439508bcaa63e960bc21bdd3.tar.bz2
mastodon_ynh-f3f4efec783c2eaa439508bcaa63e960bc21bdd3.zip
remove apt sources
Diffstat (limited to 'scripts/remove')
-rw-r--r--scripts/remove8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/remove b/scripts/remove
index 19fd67f..4acf266 100644
--- a/scripts/remove
+++ b/scripts/remove
@@ -74,6 +74,14 @@ 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"
+
+#=================================================
# REMOVE APP MAIN DIR
#=================================================
ynh_print_info "Removing app main directory"