Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added else so they know it's already installed

  • Loading branch information...
commit ee17b90c53ead7f67a81a056dfacc6a288663129 1 parent b357a53
@larzconwell larzconwell authored
Showing with 8 additions and 0 deletions.
  1. +4 −0 recipes/centos.sh
  2. +4 −0 recipes/ubuntu.sh
View
4 recipes/centos.sh
@@ -47,6 +47,8 @@ if [ ! -f $(which convert) ]; then
echo -e "\n=> Installing imagemagick (this may take a while)..."
sudo yum install -y ImageMagick >> $log_file 2>&1
echo "==> done..."
+else
+ echo "==> ImageMagick already installed..."
fi
# Install Git
@@ -54,4 +56,6 @@ if [ ! -f $(which git) ]; then
echo -e "\n=> Installing git..."
sudo yum install -y git >> $log_file 2>&1
echo "==> done..."
+else
+ echo "==> Git already installed..."
fi
View
4 recipes/ubuntu.sh
@@ -57,6 +57,8 @@ if [ ! -f $(which convert) ]; then
echo -e "\n=> Installing imagemagick (this may take a while)..."
sudo $pm -y install imagemagick libmagick9-dev >> $log_file 2>&1
echo "==> done..."
+else
+ echo "==> ImageMagick already installed..."
fi
# Install git-core
@@ -64,4 +66,6 @@ if [ ! -f $(which git) ]; then
echo -e "\n=> Installing git..."
sudo $pm -y install git-core >> $log_file 2>&1
echo "==> done..."
+else
+ echo "==> Git already installed..."
fi
Please sign in to comment.
Something went wrong with that request. Please try again.