index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/generate-key-graph | 4 |
diff --git a/bin/generate-key-graph b/bin/generate-key-graph index 6dae873..3c5063f 100755 --- a/bin/generate-key-graph +++ b/bin/generate-key-graph @@ -77,7 +77,7 @@ expiration_color() { while read -r _ fp; do printf '"%s"[label="packager key %s\\n%s",color="#0000ff",fontcolor="%s"];\n' \ "${fp}" \ - "${fp:0:8}" \ + "${fp: -8}" \ "$(get_user_info "${fp}")" \ "$(expiration_color "${fp}")" done \ @@ -119,7 +119,7 @@ expiration_color() { printf '"%s-%s"[label="master key %s\\n%s",color="#00ff00",fontcolor="%s"];\n' \ "${kpf}" \ "${fp}" \ - "${fp:0:8}" \ + "${fp: -8}" \ "$(get_user_info "${fp}")" \ "$(expiration_color "${fp}")" done |