Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/generate-key-graph
diff options
context:
space:
mode:
Diffstat (limited to 'bin/generate-key-graph')
-rwxr-xr-xbin/generate-key-graph4
1 files changed, 2 insertions, 2 deletions
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