Some debugging messages
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user