Permalink
Browse files

Don't install some files unless you are Mike.

  • Loading branch information...
1 parent 6f09b18 commit 289026ba311d54c008f397e5e28f184450737a74 @MikeMcQuaid committed Apr 19, 2013
Showing with 7 additions and 3 deletions.
  1. +7 −3 install-dotfiles.sh
View
@@ -29,9 +29,13 @@ for DOTFILE in *; do
echo $DOTFILE | egrep -q '(dotfiles|\.txt|\.md)' && continue
- # Don't install gitconfig-user unless you're also called Mike.
- echo $DOTFILE | grep -q 'gitconfig-user' \
- && echo $USER | grep -vq 'mike' && continue
+ # Don't install some files unless you're also called Mike.
+ if echo $USER | grep -vq 'mike'
+ then
+ echo $DOTFILE | grep -q 'gitconfig-user' && continue
+ echo $DOTFILE | grep -q 'ssh' && continue
+ echo $DOTFILE | grep -q 'brew-cleanup-installed' && continue
+ fi
echo $DOTFILE | grep -q 'sublime' && HOMEFILE="$SUBLIME" \
&& mkdir -p "$HOMEFILE"

0 comments on commit 289026b

Please sign in to comment.