migrations: keep system helpers sudo-compatible

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