public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Till Maas <opensource@till.name>
To: git-commits@fedoraproject.org
Subject: [rpms/keychain] f45: Restore opt-in behavior
Date: Sat, 03 Oct 2026 15:05:51 GMT [thread overview]
Message-ID: <179103995102.1.11353885437698133651.rpms-keychain-275b008aa2f6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/keychain
Branch : f45
Commit : 275b008aa2f6a5a981b6942cf07c02fe50057f2b
Author : Till Maas <opensource@till.name>
Date : 2026-10-03T16:56:12+02:00
Stats : +4/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/keychain/c/275b008aa2f6a5a981b6942cf07c02fe50057f2b?branch=f45
Log:
Restore opt-in behavior
- Check whether ~/.keychainrc exists to restore opt-in behavior as
described in README.Fedora (Resolves rhbz#2529776)
---
diff --git a/keychain.csh b/keychain.csh
index e2beb23..91d5c0c 100755
--- a/keychain.csh
+++ b/keychain.csh
@@ -5,7 +5,8 @@
if ( $?KEYCHAIN_DONE ) exit
set userhome = `getent passwd $USER | cut -d: -f6`
-if ( "$HOME" == "$userhome" ) then
+# Skip if ~/.keychainrc does not exist to allow opt-in
+if ( "$HOME" == "$userhome" && -f "$HOME/.keychainrc" ) then
if (! $?KCHOPTS) then
set KCHOPTS = "--quiet --immediate"
diff --git a/keychain.sh b/keychain.sh
index 7b468de..f93aa62 100755
--- a/keychain.sh
+++ b/keychain.sh
@@ -6,7 +6,8 @@
[ -n "$KEYCHAIN_DONE" ] && return
userhome=$(getent passwd "$USER" | cut -d: -f6)
-if [ "$HOME" = "$userhome" ]; then
+# Skip if ~/.keychainrc does not exist to allow opt-in
+if [ "$HOME" = "$userhome" ] && [ -f "$HOME/.keychainrc" ]; then
[ -n "$KCHOPTS" ] || KCHOPTS="--quiet --immediate"
reply other threads:[~2026-10-03 15:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179103995102.1.11353885437698133651.rpms-keychain-275b008aa2f6@fedoraproject.org \
--to=opensource@till.name \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox