Commit 5863d031 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Init: just set git user/mail if needed

parent 50c8eac5
......@@ -106,8 +106,10 @@ function keyringer_init {
keyringer_git_ignore 'tmp/*'
# Git configuration
git config "$email"
git config "$name"
if [ ! -z "$email" ]; then
git config "$email"
git config "$name"
# Edit default recipients
echo "Now you have to edit the default recipient configuration to be able to encrypt secrets."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment