diff options
Diffstat (limited to 'resetmode')
-rwxr-xr-x | resetmode | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/resetmode b/resetmode new file mode 100755 index 0000000..f8ddc32 --- /dev/null +++ b/resetmode @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +reset_current_mode() { + if [ -d /usr/portage/.git ] ; then + rm -rf /usr/portage/* + rm -rf /usr/portage/.git* + fi +} + +main () { + reset_current_mode +} +main |