summaryrefslogtreecommitdiff
path: root/devmod
diff options
context:
space:
mode:
Diffstat (limited to 'devmod')
-rwxr-xr-xdevmod14
1 files changed, 14 insertions, 0 deletions
diff --git a/devmod b/devmod
new file mode 100755
index 0000000..b44f15c
--- /dev/null
+++ b/devmod
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+fetch_portage_tree() {
+ cd /usr/portage && git init
+ git remote add origin git://anongit.gentoo.org/repo/gentoo.git
+ git pull --depth=1 origin master
+ git branch -u origin/master master
+}
+
+main() {
+ fetch_portage_tree
+}
+
+main