Merge pull request #9002 from acrogenesis/remove-legacy-installer-privileged-files
Repair legacy paths and privileged files left by retired installers
(cherry picked from commit 943d2fcbe9)
This commit is contained in:
45 files changed
+3279
-8
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Two hops. The scan resolves omarchy_bin into helper, so the value it ends up
|
||||
# judging still carries an unresolved $HOME rather than a literal path.
|
||||
omarchy_bin="$HOME/.local/share/omarchy/bin"
|
||||
helper="$omarchy_bin/omarchy-agent"
|
||||
|
||||
# omarchy:heredoc-expands paths=none -- helper names the agent, no path is baked in
|
||||
cat <<EOF | sudo tee /etc/udev/rules.d/99-omarchy-agent.rules >/dev/null
|
||||
SUBSYSTEM=="power_supply", RUN+="$helper"
|
||||
EOF
|
||||
Reference in new issue
Block a user