From 5a050be3de3f0a00b9ce8788b01ba3d204626ae9 Mon Sep 17 00:00:00 2001 From: clsty Date: Sat, 25 Oct 2025 08:43:41 +0800 Subject: [PATCH] Fix path in exp-update-old.sh --- sdata/step/exp-update-old.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdata/step/exp-update-old.sh b/sdata/step/exp-update-old.sh index bd640ebbf..61ce27920 100644 --- a/sdata/step/exp-update-old.sh +++ b/sdata/step/exp-update-old.sh @@ -16,12 +16,13 @@ set -uo pipefail # === Configuration === +DOTS_ROOT="${REPO_ROOT}/dots" ARCH_PACKAGES_DIR="${REPO_ROOT}/sdist/arch" UPDATE_IGNORE_FILE="${REPO_ROOT}/.updateignore" HOME_UPDATE_IGNORE_FILE="${HOME}/.updateignore" # Directories to monitor for changes -MONITOR_DIRS=("dots/.config" "dots/.local/bin") +MONITOR_DIRS=(".config" ".local/bin") # === Color Codes === @@ -676,7 +677,7 @@ if [[ "$process_files" == true ]]; then files_created=0 for dir_name in "${MONITOR_DIRS[@]}"; do - repo_dir_path="${REPO_ROOT}/${dir_name}" + repo_dir_path="${DOTS_ROOT}/${dir_name}" home_dir_path="${HOME}/${dir_name}" if [[ ! -d "$repo_dir_path" ]]; then