rpm_verify: reduce verbosity, and at the same time print more info on error

release2
Joanna Rutkowska 12 years ago
parent 3dce61a3ed
commit 46b793dcba

@ -9,7 +9,7 @@ if ! [ -f $RPM ]; then
fi
if ! rpm --checksig $RPM > /dev/null; then
echo "Wrong PGP signature!"
echo "Wrong PGP signature on $RPM!"
exit 1
fi
@ -38,7 +38,6 @@ if [ $# -lt 1 ]; then
fi
for FILE in "$@"; do
echo -n "Veryfing: $FILE... "
verify_rpm $FILE && echo OK.
verify_rpm $FILE || exit 1
done

Loading…
Cancel
Save