Better way to check which RTEMS RPMs are installed.

This commit is contained in:
Joel Sherrill
2000-05-04 14:15:07 +00:00
parent 4d42c4394f
commit 45e8d6c1ad

View File

@@ -77,7 +77,7 @@ if [ ${testing} = yes ] ; then
ECHO=echo
fi
installed_count=`rpm -qa | grep rtems | wc -l`
installed_count=`rpm -q -g rtems | wc -l`
if [ ${installed_count} -ne 0 ] ; then
echo This script should be run with NO rtems RPMs installed.
echo It appears that the following rtems RPMs are installed: