Update install script.

Removed php and composer checks. Added jq and curl checks. Removed library installs.
This commit is contained in:
Ceda EI 2018-04-02 01:56:25 +05:30
parent 8316582269
commit 52bb6091d4
1 changed files with 2 additions and 12 deletions

14
install
View File

@ -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"