gonito/helpers/gitolite/fetch_keys.sh

14 lines
245 B
Bash
Raw Normal View History

2019-11-24 14:39:33 +01:00
#!/bin/bash
for X in /var/keyswap/*.pub
do
if [[ "$X" != "/var/keyswap/filipg.pub" && "$X" != "/var/keyswap/admin.pub" ]]
then
echo "COPYING $X"
cp "$X" /var/lib/gitolite/.gitolite/keydir/
fi
done
gitolite trigger SSH_AUTHKEYS