source: people/tomop/vine-upload/etc/vine-upload/checks.d/01_sign.sh @ 6148

Revision 6148, 141 bytes checked in by tomop, 12 years ago (diff)

added an user-directory "tomop".

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3/bin/rpm -K $1 | grep 'gpg OK' >/dev/null 2>/dev/null
4
5if [ $? -ne 0 ]; then
6  echo "$1 is not signed." >&2
7  exit  1
8fi
9
10exit 0
11
Note: See TracBrowser for help on using the repository browser.