summaryrefslogtreecommitdiff
path: root/resetmode
blob: f8ddc32c3cbfb3d2673c248344023f9b4dfaa3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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