From 52bb6091d4b0575c28c659718da32722e2206ade Mon Sep 17 00:00:00 2001 From: Ceda EI <19731116+Ceda-EI@users.noreply.github.com> Date: Mon, 2 Apr 2018 01:56:25 +0530 Subject: [PATCH] Update install script. Removed php and composer checks. Added jq and curl checks. Removed library installs. --- install | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/install b/install index 83d2102..80c78bf 100755 --- a/install +++ b/install @@ -17,8 +17,8 @@ function check_exec() { echo -e "${blue}Checking Dependencies $reset" -check_exec php PHP -check_exec composer Composer +check_exec jq jq +check_exec curl curl check_exec i3lock i3lock-color check_exec convert Imagemagick @@ -33,16 +33,6 @@ else echo "OK" fi echo -e "${blue}Checked repository location $reset \n" -echo -e "${blue}Installing Libraries $reset" -sleep 1 -composer install -if [[ $? -ne 0 ]]; then - echo -e "$red Unable to install libraries. Check your internet connection" - echo -e "If the problem persists, open an issue at https://github.com/Ceda-EI/i3lock-delta/issues" - echo -e "$reset" -fi - -echo -e "${blue}Finished Installing Libraries $reset \n" echo -e "${blue}Creating Required Files$reset"