Fixed poor output formating in install scripts

On branch main
 Your branch is up to date with 'origin/main'.

 Changes to be committed:
	modified:   auto-install.sh
	modified:   install.sh
This commit is contained in:
Don Williams
2025-11-01 19:04:57 -04:00
parent aa47f73e9f
commit 0febde1d17
2 changed files with 4 additions and 2 deletions

View File

@@ -168,7 +168,8 @@ git add .
# Update host in flake.nix (first occurrence of host = "...")
sed -i -E '0,/(^\s*host\s*=\s*")([^"]*)(";)/s//\1'"$hostName"'\3/' ./flake.nix
# Verify
grep -nE "^[[:space:]]*host[[:space:]]*=" ./flake.nix || true
echo "$OK Hostname updated in flake.nix:"
grep -E "^[[:space:]]*host[[:space:]]*=" ./flake.nix | head -1 || true
printf "\n%.0s" {1..2}

View File

@@ -141,7 +141,8 @@ git add .
# Update host in flake.nix (first occurrence of host = "...")
sed -i -E '0,/(^\s*host\s*=\s*")([^"]*)(";)/s//\1'"$hostName"'\3/' ./flake.nix
# Verify
grep -nE "^[[:space:]]*host[[:space:]]*=" ./flake.nix || true
echo "$OK Hostname updated in flake.nix:"
grep -E "^[[:space:]]*host[[:space:]]*=" ./flake.nix | head -1 || true
printf "\n%.0s" {1..2}