/[smeserver]/builds_bin/release_rpms
ViewVC logotype

Diff of /builds_bin/release_rpms

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.5 by gordonr, Mon Mar 6 04:02:12 2006 UTC Revision 1.6 by gordonr, Fri Jun 30 00:18:07 2006 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3    UNSIGNED=$(rpm -K $@ | grep 'md5 OK' | sed -e 's/:.*//')
4    
5    if [ -n "$UNSIGNED" ]
6    then
7        echo "The following RPMs are not signed:"
8        echo $UNSIGNED
9        echo "Please sign them now"
10    
11        rpm --addsign $UNSIGNED || exit 1
12    fi
13    
14  for file in $@  for file in $@
15  do  do
16      arch=$(basename $file .rpm | sed -e 's/.*\.//')      arch=$(basename $file .rpm | sed -e 's/.*\.//')


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed