Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorjaberg <james@localhost.localdomain>2007-01-07 21:24:04 (GMT)
committer jaberg <james@localhost.localdomain>2007-01-07 21:24:04 (GMT)
commit1becac24dfa6bd0cee4ae46f4c0b8630bfbb6269 (patch)
tree70d602342d546fd8c268143b54d46b8ca580a7ed /scripts
parent2a940a71469b2b5964e8deab3ed6db0254424671 (diff)
unify_edit init
Diffstat (limited to 'scripts')
-rw-r--r--scripts/olpc_get_stuff.sh21
-rwxr-xr-xscripts/update-index-all.sh5
2 files changed, 26 insertions, 0 deletions
diff --git a/scripts/olpc_get_stuff.sh b/scripts/olpc_get_stuff.sh
new file mode 100644
index 0000000..e2fb272
--- /dev/null
+++ b/scripts/olpc_get_stuff.sh
@@ -0,0 +1,21 @@
+
+yum install vim-common vim-enhanced screen git-core xterm fluxbox ctags irssi
+
+if [ ! -f ~/.Xdefaults ] ; then
+ #use a legible xterm font
+ echo 'xterm*font: -*-*-*-*-*-*-20-*-*-*-*-*-*-*' > ~/.Xdefaults
+fi
+
+echo 'please ensure your ssh key is in place, then type your git-repo username: '
+echo 'copy over .vim* from somewhere'
+echo 'export GIT_AUTHOR_NAME GIT_COMMITTER_NAME in .bashrc'
+echo 'edit olpc's .xinitrc file to change the window-manager'
+
+
+read USER
+
+mkdir cvs
+cd cvs
+git-clone "git+ssh://$USER@dev.laptop.org/git/projects/tamtam" tamtam
+
+
diff --git a/scripts/update-index-all.sh b/scripts/update-index-all.sh
new file mode 100755
index 0000000..30dd058
--- /dev/null
+++ b/scripts/update-index-all.sh
@@ -0,0 +1,5 @@
+ #!/bin/sh
+
+for F in $( git-status | grep modified | cut -f 2 | cut -d ' ' -f 4 ) ; do
+ git-update-index $F
+done