diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 16:06:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 16:06:42 +0100 |
commit | c4cc2096a6adfc8edabc02c1f54220f2bd709742 (patch) | |
tree | 267f976a43b839750e3c2134e1c1bc65489880f0 /resetmode | |
parent | 8bdac77d9703d1ed6104138e69fe3f980c4ef6ec (diff) |
implement resetmode to clean previous mode before switching to new mode
Diffstat (limited to 'resetmode')
-rwxr-xr-x | resetmode | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } |