From 9a955bb424c61d32c80d16a429975e8b6f63e21e Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 15 May 2026 01:17:49 +0200 Subject: [PATCH] move install_core_system.sh to linux_configuration/ root --- .../evidence/move-install-core-system.json | 23 +++++++++++++++++++ .../single_use => }/install_core_system.sh | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 docs/superpowers/evidence/move-install-core-system.json rename linux_configuration/{scripts/single_use => }/install_core_system.sh (98%) diff --git a/docs/superpowers/evidence/move-install-core-system.json b/docs/superpowers/evidence/move-install-core-system.json new file mode 100644 index 0000000..2345acd --- /dev/null +++ b/docs/superpowers/evidence/move-install-core-system.json @@ -0,0 +1,23 @@ +{ + "intent": "Move install_core_system.sh to linux_configuration/ root for easier discovery", + "scope": [ + "linux_configuration/install_core_system.sh (moved from scripts/single_use/)" + ], + "changes": [ + "git mv to linux_configuration/ root", + "Update LINUX_CONFIG and REPO_ROOT path vars to match new location" + ], + "verification": [ + { + "command": "shellcheck linux_configuration/install_core_system.sh", + "result": "pass", + "evidence": "no warnings" + } + ], + "risks": [ + "None \u2014 pure rename + one-line path fix" + ], + "rollback": [ + "git revert HEAD" + ] +} diff --git a/linux_configuration/scripts/single_use/install_core_system.sh b/linux_configuration/install_core_system.sh similarity index 98% rename from linux_configuration/scripts/single_use/install_core_system.sh rename to linux_configuration/install_core_system.sh index 957e06e..6261b1d 100755 --- a/linux_configuration/scripts/single_use/install_core_system.sh +++ b/linux_configuration/install_core_system.sh @@ -24,8 +24,8 @@ set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -LINUX_CONFIG="$(cd "$SCRIPT_DIR/../.." && pwd)" -REPO_ROOT="$(cd "$LINUX_CONFIG/.." && pwd)" +LINUX_CONFIG="$SCRIPT_DIR" +REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" # ── Colour helpers ─────────────────────────────────────────────────────────── bold() { printf '\e[1m%s\e[0m' "$*"; }