Stop advertising forced user-setup reruns (#14194)
User setup recreates installer-seeded files, so presenting a full rerun as a refresh or an after-login recovery step implies that it safely preserves an existing account. Remove that advice from first-boot provisioning and both user-setup entry points. Setup failures still report the log path, and provisioning behaviour is unchanged. Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com> Co-authored-by: GPT-6 <noreply@openai.com>
This commit is contained in:
3 files changed
+4
-5
No files matched your search
@@ -11,7 +11,7 @@ usage() {
|
||||
Usage: omarchy-provision-first-run [--force]
|
||||
|
||||
Run first-login user setup and notification hooks. By default this only runs
|
||||
once per user. Use --force to rerun the full sequence and refresh user setup.
|
||||
once per user.
|
||||
USAGE
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ done
|
||||
state_dir=~/.local/state/omarchy
|
||||
FIRST_RUN_DONE="first-run-user"
|
||||
if omarchy-done check "$FIRST_RUN_DONE" && (( force == 0 )); then
|
||||
echo "First-run already complete (rerun with --force to refresh)."
|
||||
echo "First-run already complete."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
@@ -1013,7 +1013,7 @@ run_provisioning() {
|
||||
log_step "finalizing user"
|
||||
echo finalize >"$STATE_FILE"
|
||||
if ! finalize_user; then
|
||||
log_step "finalize-user failed (continuing; user can retry after login)"
|
||||
log_step "finalize-user failed (continuing)"
|
||||
touch "$FINALIZE_WARNING_FLAG"
|
||||
fi
|
||||
|
||||
@@ -1092,7 +1092,6 @@ run_setup() {
|
||||
clear_logo
|
||||
echo
|
||||
say --foreground 1 "User finalization reported errors (see $LOG_FILE)."
|
||||
say --foreground 1 "Run 'omarchy-provision-user --force' after login to retry."
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ state_dir="$HOME/.local/state/omarchy"
|
||||
mkdir -p "$state_dir"
|
||||
|
||||
if omarchy-done check finalize-user && (( force == 0 )); then
|
||||
echo "User finalization already complete (rerun with --force to refresh)."
|
||||
echo "User finalization already complete."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user