mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
18 lines
220 B
Bash
18 lines
220 B
Bash
|
#!/bin/bash
|
||
|
_files=$*
|
||
|
|
||
|
ALL_SIGNED=0
|
||
|
|
||
|
for file in $_files; do
|
||
|
rpm -K "$file" | grep "pgp.*OK" -q
|
||
|
if [[ $? != 0 ]]; then
|
||
|
ALL_SIGNED=1
|
||
|
echo $file NOT SIGNED
|
||
|
else
|
||
|
echo $file OK
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
|
||
|
exit $ALL_SIGNED
|