Drop unrelated privileged heredoc scanner
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# One hop between the expansion and the home path it carries. The token in the
|
||||
# heredoc has no slash and the value never resolves to a literal path, so a scan
|
||||
# that rescues unresolved values would exempt a unit baking the user's home into
|
||||
# /etc/systemd/system.
|
||||
helper="$HOME/.local/share/omarchy/bin/omarchy-agent"
|
||||
|
||||
# omarchy:heredoc-expands paths=none -- helper is just the agent command name
|
||||
cat <<EOF | sudo tee /etc/systemd/system/omarchy-agent.service >/dev/null
|
||||
[Service]
|
||||
ExecStart=$helper
|
||||
EOF
|
||||
Reference in New Issue
Block a user