git.ucc.asn.au
/
zanchey
/
uccpass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9481df8
)
pass: switch to using email addresses instead of keyids
author
David Adam
<
[email protected]
>
Thu, 30 Jun 2016 10:16:39 +0000
(18:16 +0800)
committer
David Adam
<
[email protected]
>
Thu, 30 Jun 2016 10:16:39 +0000
(18:16 +0800)
uccpass
patch
|
blob
|
history
diff --git
a/uccpass
b/uccpass
index
7f7bb9d
..
1c453e3
100755
(executable)
--- a/
uccpass
+++ b/
uccpass
@@
-127,10
+127,10
@@
new_user_setup () {
# Add to .gpg-id
echo -n " >> Adding your key to the access list... "
- if grep -qF "
$KEY_FINGERPRINT
" $PASSWORD_STORE_DIR/.gpg-id; then
+ if grep -qF "
<$GIT_AUTHOR_EMAIL>
" $PASSWORD_STORE_DIR/.gpg-id; then
echo "already present!"
else
- echo "
$KEY_FINGERPRINT
" >> $PASSWORD_STORE_DIR/.gpg-id
+ echo "
<$GIT_AUTHOR_EMAIL>
" >> $PASSWORD_STORE_DIR/.gpg-id
echo "ok."
fi
UCC
git Repository :: git.ucc.asn.au