소스 검색

move oauth token file to pass store

pull/955/head
Tomáš Faikl (astro) 11 달 전
부모
커밋
451d9451b6
No known key found for this signature in database GPG 키 ID: 8CE12A9E3D869F37
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      bin/mw

+ 6
- 0
bin/mw 파일 보기

@@ -181,6 +181,12 @@ askinfo() {
if [ -f "$oauthtokenfile" ]; then
authtype_msmtp=xoauth2
authtype_mbsync=XOAUTH2
printf "Token will be moved to '%s', do you want to remove the original token file [y/N]? " "$PASSWORD_STORE_DIR/$prefix$fulladdr.tokens"
read -r prompt
case "$prompt" in
y|Y) mv "$oauthtokenfile" "$PASSWORD_STORE_DIR/$prefix$fulladdr.tokens" ;;
*) cp "$oauthtokenfile" "$PASSWORD_STORE_DIR/$prefix$fulladdr.tokens" ;;
esac
else
[ -n "$oauthtokenfile" ] && echo "Token file not found"
authtype_msmtp=on


불러오는 중...
취소
저장