Compare commits
No commits in common. "9653c33931b5c60fb2dbb069d00f3c8566781b86" and "a4fc1f7c14dd522a5da9afff58f1b595bb2f87cb" have entirely different histories.
9653c33931
...
a4fc1f7c14
@ -342,10 +342,7 @@ class UpdaterPage {
|
||||
// withToolbar=false lets an embedding surface (the fleet Overview tab) skip
|
||||
// the inline Check button because it provides one in its own header.
|
||||
renderImprovements(withToolbar = true) {
|
||||
// No inline Check button on the empty state: the host auto-scan repopulates
|
||||
// this within a couple of minutes (and the embedding header already carries
|
||||
// a manual Check), so the message alone is the right, button-free empty UI.
|
||||
if (!this.artifacts) return this.empty('No hotfix data yet — the automatic scan fetches the signed improvements index within a couple of minutes.');
|
||||
if (!this.artifacts) return this.empty('No hotfix data yet — the automatic scan fetches the signed improvements index within a couple of minutes.', true);
|
||||
const list = Array.isArray(this.artifacts.artifacts) ? this.artifacts.artifacts : [];
|
||||
const signed = !!this.artifacts.signed;
|
||||
if (!list.length) return this.empty('No improvements available right now — you are all caught up. 🎉');
|
||||
|
||||
@ -92,9 +92,7 @@ reconcileConfigFile()
|
||||
local bak_file="${live%/*}/.${live##*/}.bak"
|
||||
runCfgOp cp -a "$live" "$bak_file"
|
||||
{ [[ -n "$containers_dir" && "$live" == "$containers_dir"* ]] && runFileWrite "$live" < "$tmp" || runInstallOp cp "$tmp" "$live"; }
|
||||
# A hidden .<file>.bak sibling is still written above for safety; the
|
||||
# per-file result is intentionally silent — the intro notice and the
|
||||
# per-section "...completed." lines are the only reconcile output.
|
||||
isSuccessful "Reconciled config: $(basename "$live") (backup: ${bak_file##*/})"
|
||||
fi
|
||||
rm -f "$tmp"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user