add script

This commit is contained in:
Roberto Cirillo 2022-05-18 16:26:57 +02:00
parent 4c9a65a9d4
commit d9469f5d5f
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash
out=`find . -name pom.xml -exec grep 'home-library' /dev/null {} + || echo 'empty'`
out=`find . -name pom.xml -exec grep -E 'imagej|itext' /dev/null {} + || echo 'empty'`
if [[ ["${out}" != "empty"] && "$(grep pom.xml <<< ${out})" ]]; then
echo "${out}"
echo "Home Library found"
echo "Home Library dep found"
else
echo "Home Library not found"
fi
echo "Home Library dep not found"
fi