From c4cc2096a6adfc8edabc02c1f54220f2bd709742 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Apr 2016 16:06:42 +0100 Subject: implement resetmode to clean previous mode before switching to new mode --- resetmode | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resetmode') diff --git a/resetmode b/resetmode index f8ddc32..6fad670 100755 --- a/resetmode +++ b/resetmode @@ -4,6 +4,9 @@ reset_current_mode() { if [ -d /usr/portage/.git ] ; then rm -rf /usr/portage/* rm -rf /usr/portage/.git* + rm /etc/portage/make.conf + rm /etc/portage/make.profile + rm /etc/portage fi } -- cgit v1.2.3