Build: correct verify script (#18236)
Follow-up for4b16cd6cc8(cherry picked from commitba46cf40e4)
This commit is contained in:
committed by
Leonard Gram
parent
fd7c38c62f
commit
7a165febf3
@@ -5,13 +5,12 @@ _files=$*
|
||||
ALL_SIGNED=0
|
||||
|
||||
for file in $_files; do
|
||||
if rpm -K "$file" | grep "pgp.*OK" -q; then
|
||||
if rpm -K "$file" | grep "pgp.*OK" -q ; then
|
||||
echo "$file" OK
|
||||
else
|
||||
ALL_SIGNED=1
|
||||
echo "$file" NOT SIGNED
|
||||
else
|
||||
echo "$file" OK
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
exit $ALL_SIGNED
|
||||
|
||||
Reference in New Issue
Block a user