Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added else so they know it's already installed

  • Loading branch information...
commit ee17b90c53ead7f67a81a056dfacc6a288663129 1 parent b357a53
Larz Conwell larzconwell authored

Showing 2 changed files with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 recipes/centos.sh
  2. +4 0 recipes/ubuntu.sh
4 recipes/centos.sh
@@ -47,6 +47,8 @@ if [ ! -f $(which convert) ]; then
47 47 echo -e "\n=> Installing imagemagick (this may take a while)..."
48 48 sudo yum install -y ImageMagick >> $log_file 2>&1
49 49 echo "==> done..."
  50 +else
  51 + echo "==> ImageMagick already installed..."
50 52 fi
51 53
52 54 # Install Git
@@ -54,4 +56,6 @@ if [ ! -f $(which git) ]; then
54 56 echo -e "\n=> Installing git..."
55 57 sudo yum install -y git >> $log_file 2>&1
56 58 echo "==> done..."
  59 +else
  60 + echo "==> Git already installed..."
57 61 fi
4 recipes/ubuntu.sh
@@ -57,6 +57,8 @@ if [ ! -f $(which convert) ]; then
57 57 echo -e "\n=> Installing imagemagick (this may take a while)..."
58 58 sudo $pm -y install imagemagick libmagick9-dev >> $log_file 2>&1
59 59 echo "==> done..."
  60 +else
  61 + echo "==> ImageMagick already installed..."
60 62 fi
61 63
62 64 # Install git-core
@@ -64,4 +66,6 @@ if [ ! -f $(which git) ]; then
64 66 echo -e "\n=> Installing git..."
65 67 sudo $pm -y install git-core >> $log_file 2>&1
66 68 echo "==> done..."
  69 +else
  70 + echo "==> Git already installed..."
67 71 fi

0 comments on commit ee17b90

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