Skip to content

Commit

Permalink
remove extra then
Browse files Browse the repository at this point in the history
  • Loading branch information
atomantic committed Aug 14, 2014
1 parent c9669ee commit d4706f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ sed -i '' 's/eivya001/'$(whoami)'/g' .zshrc;

function symlinkifne {
echo -ne "linking $1..."

# does it exist
if [[ -a $1 || -L $1 ]]; then

# If Unlink is requested
if [ "$UNLINK" = "true" ]; then
unlink $1
Expand Down
1 change: 0 additions & 1 deletion lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ function require_npm() {
running "npm install $1..."
npm list -g $1 > /dev/null 2>&1 | true
if [[ ${PIPESTATUS[0]} != 0 ]]; then
then
npm install $1 > /dev/null 2>&1
fi
ok
Expand Down

0 comments on commit d4706f2

Please sign in to comment.