X-Git-Url: https://git.ucc.asn.au/?p=zanchey%2Fuccpass.git;a=blobdiff_plain;f=uccpass;h=1c453e32df60188795777b04aadbe8116e94ef1c;hp=7f7bb9d38a0d6478adca20f18bf9b141d0007f7d;hb=d281445b66faf26bd0a868ed72501175f3e31e96;hpb=9481df8a5267f108c9b57691c2709ce533e70660 diff --git a/uccpass b/uccpass index 7f7bb9d..1c453e3 100755 --- 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