aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-22 19:23:58 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-22 19:26:20 -0500
commit2088bdc2b5ef8c2823e6f2e4997871818417672e (patch)
tree209e192f4c1c4b088f80b3a3558e4bff39d649ed /copy.sh
parentc6a85140d2578a7d3ea009cb8074049c98c8da4e (diff)
fix: UserConfigs dedupe handling for express/update
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/copy.sh b/copy.sh
index d2c507ce..90dc1b83 100755
--- a/copy.sh
+++ b/copy.sh
@@ -410,7 +410,12 @@ if command -v ags >/dev/null 2>&1; then
fi
fi
-printf "\n%.0s" {1..1}
+printf "\\n%.0s" {1..1}
+
+# Capture installed dotfiles version at the start of the workflow so we
+# can apply cleanup rules based on the pre-upgrade state, even if a newer
+# version marker is copied in later.
+INSTALLED_VERSION_AT_START="$(get_installed_dotfiles_version || true)"
# quickshell (ags alternative)
# Check if quickshell is installed
@@ -478,10 +483,10 @@ fi
printf "\n%.0s" {1..1}
restore_hypr_assets "$LOG" "$EXPRESS_MODE"
-printf "\n%.0s" {1..1}
+printf "\\n%.0s" {1..1}
-restore_user_configs "$LOG" "$EXPRESS_MODE" "$INSTALLED_VERSION"
-printf "\n%.0s" {1..1}
+restore_user_configs "$LOG" "$EXPRESS_MODE" "$INSTALLED_VERSION_AT_START"
+printf "\\n%.0s" {1..1}
restore_user_scripts "$LOG" "$EXPRESS_MODE"
printf "\n%.0s" {1..1}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage