index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-02-25 11:42:27 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-25 11:42:27 +0100 |
commit | 21648f8ebaf5071c61bfce5a42838841ca5f653b (patch) | |
tree | a532905314a83cf78dd25621e1ff153d588ec38d /bin/generate-key-graph | |
parent | ba0a8e203ac3a90f0660e71034e55809943a6319 (diff) |
-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 |