don't remove /awips2/alertviz is awips2-cave is not installed

Former-commit-id: 1a98ead895
This commit is contained in:
mjames-upc 2016-02-22 16:43:55 -07:00
parent e955437eba
commit 493725d5ec

View file

@ -28,10 +28,10 @@ fi
if [[ $(rpm -qa | grep awips2-cave) ]]; then
echo "found CAVE RPMs installed"
else
echo " CAVE RPMs not installled"
echo " CAVE RPMs not installed"
echo ""
echo " cleaning up /awips2/cave/, /awips2/alertviz/"
rm -rf /awips2/cave/ /awips2/alertviz/
echo " cleaning up /awips2/cave/"
rm -rf /awips2/cave/
fi
echo ''