Skip to content
Snippets Groups Projects
Unverified Commit 4f56af82 authored by Nico's avatar Nico
Browse files

fix individual keys

parent 01f51a61
No related branches found
No related tags found
No related merge requests found
Pipeline #2880 passed
......@@ -29,10 +29,13 @@ for grouppath in "$rootdir/groups/"*; do
done
done
# explicitly unset loop variables to prevent accidental reuse
unset member memberkeyfile memberpath group
echo "<h1>Nutzer*innen</h1>" >> public/index.html
for keypath in "$rootdir/keys/"*; do
user=$(basename "$keypath")
echo "<li><a href=\"keys/$user\">$user</a></li>" >> public/index.html
echo "# $user" >> "$rootdir/public/keys/$user"
cat "$rootdir/keys/$member" >> "$rootdir/public/keys/$user"
cat "$rootdir/keys/$user" >> "$rootdir/public/keys/$user"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment