public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cristian Le <git@lecris.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-packager] f43: Move fkinit user default check
Date: Fri, 19 Jun 2026 18:10:27 GMT [thread overview]
Message-ID: <178189262778.1.6743649316780146388.rpms-fedora-packager-c6eed73137a9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-packager
Branch : f43
Commit : c6eed73137a93167267b0226a7293edd982dd436
Author : Cristian Le <git@lecris.dev>
Date : 2025-12-08T22:05:46+00:00
Stats : +5/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-packager/c/c6eed73137a93167267b0226a7293edd982dd436?branch=f43
Log:
Move fkinit user default check
Otherwise the check for .fedora.upn does not apply
---
diff --git a/fkinit b/fkinit
index 7df469b..537edc0 100755
--- a/fkinit
+++ b/fkinit
@@ -28,8 +28,12 @@ begins_with_short_option()
}
# THE DEFAULTS INITIALIZATION - OPTIONALS
-_arg_user="$USER"
_arg_staging="off"
+if [ -f "$HOME/.fedora.upn" ]; then
+ _arg_user=$(<"$HOME/.fedora.upn")
+else
+ _arg_user="$USER"
+fi
print_help()
@@ -97,10 +101,6 @@ set -e
armorcache=$(mktemp)
trap finalize EXIT
-if [ -f "$HOME/.fedora.upn" ] && [ -z "$_arg_user" ]; then
- $_arg_user=$(<"$HOME/.fedora.upn")
-fi
-
if [ "$_arg_staging" == "on" ]; then
domain=STG.FEDORAPROJECT.ORG
else
reply other threads:[~2026-06-19 18:10 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=178189262778.1.6743649316780146388.rpms-fedora-packager-c6eed73137a9@fedoraproject.org \
--to=git@lecris.dev \
--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