From a0cfa121bd7fc826d6de76309e6bc82cd0f57e08 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 15 Jul 2013 18:55:36 +0530 Subject: [PATCH] Fixed issue 25 Install ed Command During Installation --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install.sh b/install.sh index 154654b7..cfb1a142 100644 --- a/install.sh +++ b/install.sh @@ -46,6 +46,14 @@ then sudo apt-get -y install coreutils || OwnError "Unable to install tee" fi +# Checking Ed +if [ ! -x /bin/ed ] +then + echo -e "\033[31m Ed Command Not Found ! \e[0m" | tee -ai $INSTALLLOG + echo -e "\033[34m Installing Ed \e[0m" | tee -ai $INSTALLLOG + sudo apt-get -y install ed || OwnError "Unable to install ed" +fi + # Checking Wget if [ ! -x /usr/bin/wget ] then