public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/keychain] f45: Restore opt-in behavior
@ 2026-10-03 15:05 Till Maas
0 siblings, 0 replies; only message in thread
From: Till Maas @ 2026-10-03 15:05 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-03 15:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03 15:05 [rpms/keychain] f45: Restore opt-in behavior Till Maas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox