aboutsummaryrefslogtreecommitdiff
path: root/bin/mailsync
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-08-16 17:38:41 +0300
committerawy <awy@awy.one>2025-08-16 17:38:41 +0300
commit2f233ca560720f1fb48616f2dadfbc3871078a0f (patch)
tree4ec8efc57c7da3295861131a0437d78838ff05b0 /bin/mailsync
parent4a773aa74bd9da4ff609eafbacc504661d33705c (diff)
use gopass as backendHEADmaster
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-xbin/mailsync4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mailsync b/bin/mailsync
index f52ead5..c7f133f 100755
--- a/bin/mailsync
+++ b/bin/mailsync
@@ -14,7 +14,7 @@
# Run only if not already running in other instance
pgrep mbsync >/dev/null && { echo "mbsync is already running."; exit ;}
-# First, we have to get the right variables for the mbsync file, the pass
+# First, we have to get the right variables for the mbsync file, the gopass
# archive, notmuch and the GPG home. This is done by searching common profile
# files for variable assignments. This is ugly, but there are few options that
# will work on the maximum number of machines.
@@ -24,7 +24,7 @@ eval "$(grep -h -- \
"$HOME/.config/zsh/.zshenv" "$HOME/.bashrc" "$HOME/.zshrc" "$HOME/.config/zsh/.zshrc" \
"$HOME/.pam_environment" 2>/dev/null)"
-# For non-interactive shell (e.g. cron job) run only when the GPG key (in $GNUPGHOME or pass --homedir) is unlocked
+# For non-interactive shell (e.g. cron job) run only when the GPG key (in $GNUPGHOME or gopass --homedir) is unlocked
tty -s || (echo "dummy" | gpg --sign --batch --yes -o /dev/null > /dev/null 2>&1) || exit
export GPG_TTY="$(tty)"