SOURCES: rpm-hrmib-cache - include also gpg-pubkeys in output

glen glen at pld-linux.org
Thu Feb 21 00:03:12 CET 2008


Author: glen                         Date: Wed Feb 20 23:03:12 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- include also gpg-pubkeys in output

---- Files affected:
SOURCES:
   rpm-hrmib-cache (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/rpm-hrmib-cache
diff -u SOURCES/rpm-hrmib-cache:1.7 SOURCES/rpm-hrmib-cache:1.8
--- SOURCES/rpm-hrmib-cache:1.7	Thu Feb 21 00:00:28 2008
+++ SOURCES/rpm-hrmib-cache	Thu Feb 21 00:03:07 2008
@@ -12,15 +12,9 @@
 	mkdir -p $mydir || return
 	rm -f $mydir/*
 
-	buf=$(rpm --nodigest --nosignature -qa --qf '%{name}-%{version}-%{release}.%{arch} %{installtime:date}\n')
+	buf=$(rpm --nodigest --nosignature -qa 'gpg*' --qf '%{N}-%{V}-%{R}%|ARCH?{.%{ARCH}}| %{INSTALLTIME:date}\n')
 	echo "$buf" | while read nvra idate; do
-	case $nvra in
-		gpg-pubkey-*)
-		;;
-	*)
 		touch -d "$idate" "$mydir/$nvra"
-		;;
-	esac
 	done
 	touch $mydir
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-hrmib-cache?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list