Skip to content
Browse files

Add install script

  • Loading branch information...
1 parent d7578e5 commit e72af7e1dbed7f3a4cc3d58f35e8570fc028da2a Toni Grigoriu committed Feb 29, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 modman-installer
View
17 modman-installer
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+if [ ! -d "$HOME/bin" ] ; then
+ mkdir $HOME/bin
+
+ if [ -f $HOME/.profile ]; then
+ . $HOME/.profile
+
+ if [[ ":$PATH:" != *":$HOME/bin:"* ]]; then
+ echo -e '\nPATH="$HOME/bin:$PATH"' >> $HOME/.profile
+ fi
+ fi
+fi
+
+wget -O $HOME/bin/modman https://raw.github.com/colinmollenhour/modman/master/modman
+
+chmod +x $HOME/bin/modman

0 comments on commit e72af7e

Please sign in to comment.
Something went wrong with that request. Please try again.