Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 508 Bytes
#!/bin/bash
### This script checks a list of RHSA numbers against sarahdb
for RHSA in $*; do
echo "RHSA $RHSA"
echo "------------------"
echo "Matches the following advisories:"
./sarahsql.py "select advid, severity, synopsis from adv where advid == '$RHSA'"
echo
echo "Providing the following updates:"
./sarahsql.py "select distinct prodshort, filename, advid from rpm where advid == '$RHSA' and prodshort in ('3AS', '4AS') and arch == 'i386'"
echo "------------------"
done
Jump to Line
Something went wrong with that request. Please try again.