1
0
mirror of https://github.com/ublue-os/bazzite.git synced 2025-03-27 23:37:53 +00:00

chore: Move user setup to libexec

This commit is contained in:
Kyle Gospodnetich 2023-11-03 19:54:30 -07:00
parent b63c1de6f7
commit cb4bcef1bd
3 changed files with 2 additions and 2 deletions
system_files/desktop/shared/usr

@ -29,7 +29,7 @@ flatpak remote-add --if-not-exists --user flathub /etc/flatpak/remotes.d/flathub
flatpak remote-modify --user --enable flathub
# Handle privileged tasks
pkexec /usr/bin/bazzite-privileged-user-setup
pkexec /usr/libexec/bazzite-privileged-user-setup
if [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
echo 'Running setup for Kinoite'

@ -15,7 +15,7 @@
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/bazzite-privileged-user-setup</annotate>
<annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/bazzite-privileged-user-setup</annotate>
</action>
</policyconfig>