summaryrefslogtreecommitdiff
path: root/binmode
diff options
context:
space:
mode:
Diffstat (limited to 'binmode')
-rwxr-xr-xbinmode31
1 files changed, 0 insertions, 31 deletions
diff --git a/binmode b/binmode
deleted file mode 100755
index 2ee6d06..0000000
--- a/binmode
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env bash
-
-fetch_usermode_portage_tree() {
- if [[ ! -d "$portagedir"/.git ]] ; then
- cd "$portagedir" && git init > /dev/null 2>&1
- git remote add origin https://gitlab.com/redcore/portage.git
- git config core.sparsecheckout true
- echo "profiles/*" >> .git/info/sparse-checkout
- echo "metadata/*" >> .git/info/sparse-checkout
- echo "eclass/*" >> .git/info/sparse-checkout
- echo ".gitignore" >> .git/info/sparse-checkout
- git pull --depth=1 origin master
- git branch -u origin/master master
- rm -rf ""$portagedir"/profiles/updates"
- fi
-}
-
-set_usermode_portage_tree() {
- ln -sf "$gitdir" "$confdir"
- ln -sf "$confdir"/make.conf.amd64-binmode "$confdir"/make.conf
- eselect profile set 1
- env-update
- . /etc/profile
-}
-
-main() {
- fetch_usermode_portage_tree
- set_usermode_portage_tree
-}
-
-main