Some debugging messages

This commit is contained in:
2026-05-04 19:24:02 +02:00
parent 7a6709eb98
commit 387bdc0f77
-5
View File
@@ -103,17 +103,13 @@ README="$TARGET_DIR/README.org"
if [ -f "$README" ]; then
awk -v user="$USER_NAME" -v host="$HOSTNAME" '
BEGIN {inblock=0}
{
if ($0 ~ /^\*\* =/) inblock=1
if (inblock == 1) {
gsub("henrov", user)
gsub("traveldroid", host)
}
print $0
if ($0 ~ /^#\+END_SRC/) inblock=0
}' "$README" > "$README.tmp" && mv "$README.tmp" "$README"
fi
@@ -168,7 +164,6 @@ sudo nixos-rebuild switch --flake ".#$HOSTNAME"
### Step 9 — Done
### ─────────────────────────────
cat <<EOF
Installation complete. Please reboot your system.
After rebooting, any changes must be made in: