mirror of
https://github.com/LinuxBeginnings/NixOS-Hyprland.git
synced 2026-01-11 15:01:01 -03:00
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:
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user