From bc9e47476de753569ee83078ec19e9797c03d4b2 Mon Sep 17 00:00:00 2001 From: Patrick Singletary Date: Sun, 13 Sep 2026 09:39:25 -0400 Subject: [PATCH] unified-backup: read config from ~/.config/backup3 (align with red-team 4243038 relocation) --- bin/unified-backup.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/unified-backup.zsh b/bin/unified-backup.zsh index 232d114..a8f49af 100755 --- a/bin/unified-backup.zsh +++ b/bin/unified-backup.zsh @@ -24,7 +24,7 @@ set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" -CONFIG_DIR="$SCRIPT_DIR/../config/backup3" +CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/backup3" STATE_DIR="${XDG_STATE_HOME:-$HOME/.local/state}/backup3" mkdir -p "$STATE_DIR/logs" RUNLOG="$STATE_DIR/logs/run-$(date +%Y%m%d-%H%M%S).log" -- 2.51.2