diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 18:01:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 18:01:44 +0100 |
commit | 90eb32f31f8a14858a537b00a3bedff77321a3ff (patch) | |
tree | a1d04e469aac04b8f5352f47fef5b125f4981217 | |
parent | 3eb274bfcbe5f3d4c234d626d423d85250c1ada9 (diff) |
Revert "keep packages dir and distfiles dir intact when switching modes"
This reverts commit 3eb274bfcbe5f3d4c234d626d423d85250c1ada9.
-rwxr-xr-x | modereset | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2,9 +2,7 @@ reset_current_mode() { if [ -d /usr/portage/.git ] ; then - for i in "(ls /usr/portage|grep -v packages|grep -v distfiles)"; do - rm -rf $i - done + rm -rf /usr/portage/* rm -rf /usr/portage/.git* rm /etc/portage/make.conf rm /etc/portage/make.profile |