Update install script.
Removed php and composer checks. Added jq and curl checks. Removed library installs.
This commit is contained in:
parent
8316582269
commit
52bb6091d4
14
install
14
install
|
@ -17,8 +17,8 @@ function check_exec() {
|
||||||
|
|
||||||
echo -e "${blue}Checking Dependencies $reset"
|
echo -e "${blue}Checking Dependencies $reset"
|
||||||
|
|
||||||
check_exec php PHP
|
check_exec jq jq
|
||||||
check_exec composer Composer
|
check_exec curl curl
|
||||||
check_exec i3lock i3lock-color
|
check_exec i3lock i3lock-color
|
||||||
check_exec convert Imagemagick
|
check_exec convert Imagemagick
|
||||||
|
|
||||||
|
@ -33,16 +33,6 @@ else
|
||||||
echo "OK"
|
echo "OK"
|
||||||
fi
|
fi
|
||||||
echo -e "${blue}Checked repository location $reset \n"
|
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"
|
echo -e "${blue}Creating Required Files$reset"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue