Parcourir la source

Build: correct verify script (#18236)

Follow-up for 4b16cd6cc8e8cdc66245ae32119076819411f585
Oleg Gaidarenko il y a 6 ans
Parent
commit
ba46cf40e4
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 3 4
      scripts/build/verify_signed_packages.sh

+ 3 - 4
scripts/build/verify_signed_packages.sh

@@ -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