install: make system scripts root-finalizer aware

This commit is contained in:
Ryan Hughes
2026-06-04 18:35:01 -04:00
parent 0cfa1b66c4
commit 7ef5bc56fd
6 changed files with 21 additions and 17 deletions
@@ -1,2 +1,4 @@
# Ensure we use system python3 and not mise's python3
sudo sed -i '/env python3/ c\#!/bin/python3' /usr/bin/powerprofilesctl
if [[ -f /usr/bin/powerprofilesctl ]]; then
sed -i '/env python3/ c\#!/bin/python3' /usr/bin/powerprofilesctl
fi