diff options
-rwxr-xr-x | modereset | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,9 @@ reset_current_mode() { if [ -d /usr/portage/.git ] ; then - rm -rf /usr/portage/* + for i in "(ls /usr/portage|grep -v packages|grep -v distfiles)"; do + rm -rf $i + done rm -rf /usr/portage/.git* rm /etc/portage/make.conf rm /etc/portage/make.profile |