rpm_verify: reduce verbosity, and at the same time print more info on error
This commit is contained in:
parent
3dce61a3ed
commit
46b793dcba
@ -9,7 +9,7 @@ if ! [ -f $RPM ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! rpm --checksig $RPM > /dev/null; then
|
if ! rpm --checksig $RPM > /dev/null; then
|
||||||
echo "Wrong PGP signature!"
|
echo "Wrong PGP signature on $RPM!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -38,7 +38,6 @@ if [ $# -lt 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for FILE in "$@"; do
|
for FILE in "$@"; do
|
||||||
echo -n "Veryfing: $FILE... "
|
verify_rpm $FILE || exit 1
|
||||||
verify_rpm $FILE && echo OK.
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user