diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 16:45:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-17 16:45:16 +0100 |
commit | e77f752fe98e8458797e413c4373d5dee3c3c93f (patch) | |
tree | 24b53247c83f9400e595ab7b0dced38014b8c603 /modereset | |
parent | dd36cf0cef322ca6d0bd7b2028e92fcf6538effe (diff) |
rename helper scripts to something more clear
Diffstat (limited to 'modereset')
-rwxr-xr-x | modereset | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modereset b/modereset new file mode 100755 index 0000000..6fad670 --- /dev/null +++ b/modereset @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +reset_current_mode() { + if [ -d /usr/portage/.git ] ; then + rm -rf /usr/portage/* + rm -rf /usr/portage/.git* + rm /etc/portage/make.conf + rm /etc/portage/make.profile + rm /etc/portage + fi +} + +main () { + reset_current_mode +} +main |