summaryrefslogtreecommitdiff
path: root/resetmode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-04-17 14:32:10 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-04-17 14:32:10 +0100
commit6872961376183e04e77f4d1f1f73446c34bbd498 (patch)
tree5923d797a7eb6ca22a3cd058ad3d96c2668b9613 /resetmode
parent74c6056ea7f2ddf5d6dbe7aab14942b528a5ae71 (diff)
drop pretty much all arch references since we now use only one arch
Diffstat (limited to 'resetmode')
-rwxr-xr-xresetmode13
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