- # Add to .gpg-id
- echo -n " >> Adding your key to the access list... "
- if grep -qF "$KEY_FINGERPRINT" $PASSWORD_STORE_DIR/.gpg-id; then
- echo "already present!"
- else
- echo "$KEY_FINGERPRINT" >> $PASSWORD_STORE_DIR/.gpg-id
- echo "ok."
- fi
-