install: make system scripts root-finalizer aware

This commit is contained in:
Ryan Hughes committed 2026-06-04 18:35:01 -04:00
1 parent 0cfa1b66c4
commit 7ef5bc56fd
6 files changed
+21 -17

No files matched your search

@@ -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