]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- include also gpg-pubkeys in output
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 20 Feb 2008 23:03:07 +0000 (23:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-hrmib-cache -> 1.8

rpm-hrmib-cache

index 3ac84c0e5844c015579c05f59699c5154e7e47b5..d793086a0fedc8918ef56f7e0dfe5d325696d8eb 100644 (file)
@@ -12,15 +12,9 @@ build_hrmib_cache() {
        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
 }
This page took 0.105201 seconds and 4 git commands to generate.