mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Ensure powerprofilesctl always use system python to prevent conflicts with mise
This commit is contained in:
parent
1514c5c633
commit
f6df59c9ed
@ -11,6 +11,7 @@ run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh
|
||||
run_logged $OMARCHY_INSTALL/config/xcompose.sh
|
||||
run_logged $OMARCHY_INSTALL/config/mise-ruby.sh
|
||||
run_logged $OMARCHY_INSTALL/config/mise-work.sh
|
||||
run_logged $OMARCHY_INSTALL/config/fix-powerprofilesctl-shebang.sh
|
||||
run_logged $OMARCHY_INSTALL/config/docker.sh
|
||||
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
||||
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
||||
|
||||
2
install/config/fix-powerprofilesctl-shebang.sh
Normal file
2
install/config/fix-powerprofilesctl-shebang.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# Ensure we use system python3 and not mise's python3
|
||||
sudo sed -i '/env python3/ c\#!/bin/python3' /usr/bin/powerprofilesctl
|
||||
3
migrations/1758104201.sh
Normal file
3
migrations/1758104201.sh
Normal file
@ -0,0 +1,3 @@
|
||||
echo "Prevent powerprofilesctl from using Mise python and not working"
|
||||
|
||||
bash $OMARCHY_PATH/install/config/fix-powerprofilesctl-shebang.sh
|
||||
Loading…
x
Reference in New Issue
Block a user