Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 508 Bytes
### This script checks a list of RHSA numbers against sarahdb
for RHSA in $*; do
echo "RHSA $RHSA"
echo "------------------"
echo "Matches the following advisories:"
./ "select advid, severity, synopsis from adv where advid == '$RHSA'"
echo "Providing the following updates:"
./ "select distinct prodshort, filename, advid from rpm where advid == '$RHSA' and prodshort in ('3AS', '4AS') and arch == 'i386'"
echo "------------------"