Browse code

Removed useless else

Toon Claes authored on 16/10/2009 at 21:03:50
Showing 1 changed files
1 1
old mode 100644
2 2
new mode 100755
... ...
@@ -2,11 +2,11 @@ if [ -d ~/.oh-my-zsh ]
2 2
 then
3 3
   echo "You already have Oh My Zsh installed. You'll need to remove ~/.oh-my-zsh if you want to install"
4 4
   exit
5
-else
6
-  echo "Cloning Oh My Zsh..."
7
-  /usr/bin/env git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
8 5
 fi
9 6
 
7
+echo "Cloning Oh My Zsh..."
8
+/usr/bin/env git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
9
+
10 10
 echo "Looking for an existing zsh config..."
11 11
 if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]
12 12
 then
... ...
@@ -27,4 +27,3 @@ chsh -s /bin/zsh
27 27
 echo "Hooray! Oh My Zsh has been installed."
28 28
 /bin/zsh
29 29
 source ~/.zshrc
30
-