Add missing [ in check package

This commit is contained in:
nemo 2019-06-29 11:43:03 +02:00
parent 33ba83a190
commit 53af51c55f

View file

@ -23,7 +23,7 @@ do
else else
#echo ${result} #echo ${result}
# If package is installed # If package is installed
if [[ ${result} == *"[ebuild R"*"${package}"* ]] || [ ${result} == *"[binary R"*"${package}"* ]] if [[ ${result} == *"[ebuild R"*"${package}"* ]] || [[ ${result} == *"[binary R"*"${package}"* ]]
then then
echo -e "${GREEN}Package ${package} INSTALLED : check OK${NC}" echo -e "${GREEN}Package ${package} INSTALLED : check OK${NC}"
# If package reinstall forced for some reason # If package reinstall forced for some reason