Public dry run dryrun-a43e907efd9d

Source commit: a43e907efd9d1561c23fe73499478e881f868355

Public tree identity: sha256:453dea30195485dd8939f575a69b39f4bb7acd84c4df23f8aa29b55d044f2673
This commit is contained in:
Clusterflux release dry run 2026-07-15 01:54:51 +02:00
commit 6f52bb46cd
210 changed files with 77158 additions and 0 deletions

View file

@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
migrate_path() {
local source="$1"
local destination="$2"
if [[ ! -e "$source" ]]; then
return
fi
if [[ -e "$destination" ]]; then
printf 'refusing to overwrite existing destination: %s\n' "$destination" >&2
exit 1
fi
mv -- "$source" "$destination"
printf 'migrated %s -> %s\n' "$source" "$destination"
}
migrate_path "${HOME}/.disasmer" "${HOME}/.clusterflux"
migrate_path "${XDG_CONFIG_HOME:-${HOME}/.config}/disasmer" \
"${XDG_CONFIG_HOME:-${HOME}/.config}/clusterflux"
migrate_path "${PWD}/.disasmer" "${PWD}/.clusterflux"
migrate_path "${PWD}/disasmer.toml" "${PWD}/clusterflux.toml"