Author: glen                         Date: Fri Oct 19 18:32:49 2007 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- fix detection is pkg signed; print already signed pkgs to stderr

---- Files affected:
pld-ftp-admin/shell:
   bashrc (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: pld-ftp-admin/shell/bashrc
diff -u pld-ftp-admin/shell/bashrc:1.2 pld-ftp-admin/shell/bashrc:1.3
--- pld-ftp-admin/shell/bashrc:1.2      Fri Oct 19 16:05:19 2007
+++ pld-ftp-admin/shell/bashrc  Fri Oct 19 20:32:44 2007
@@ -57,7 +57,7 @@
        local key=$(rpm -E '%_gpg_name')
        awk -F: '/^file:/{arch=$2; file=$3; printf("../../%s/RPMS/%s\n", arch, 
file)}' "$@" | \
        xargs -l1 -ri rpm -qp --qf '{} %{SIGGPG:pgpsig}\n' {} 2>/dev/null | \
-       awk -vk="$key" '$2 ~ k {print $1}' | \
+       awk -vk="$key" '$NF ~ k {print > "/dev/stderr"; next} {print $1}' | \
        xargs -l512 -r rpm --resign
 }
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/shell/bashrc?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to