diff --git a/install/config/all.sh b/install/config/all.sh index 9c8b448..0c630a9 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -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 diff --git a/install/config/fix-powerprofilesctl-shebang.sh b/install/config/fix-powerprofilesctl-shebang.sh new file mode 100644 index 0000000..61cac43 --- /dev/null +++ b/install/config/fix-powerprofilesctl-shebang.sh @@ -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 diff --git a/migrations/1758104201.sh b/migrations/1758104201.sh new file mode 100644 index 0000000..18ac701 --- /dev/null +++ b/migrations/1758104201.sh @@ -0,0 +1,3 @@ +echo "Prevent powerprofilesctl from using Mise python and not working" + +bash $OMARCHY_PATH/install/config/fix-powerprofilesctl-shebang.sh