mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
Add systemctl try-restart polkit to bootstrap.sh
This makes it more properly install things so that you don't get the nasty pkexec pop-ups with dev builds.
This commit is contained in:
parent
688373a260
commit
79d0c64ef1
@ -40,5 +40,10 @@ set -x
|
|||||||
|
|
||||||
sudo ninja install
|
sudo ninja install
|
||||||
|
|
||||||
|
# Restart polkit so we don't get pop-ups whenever we pkexec
|
||||||
|
if systemctl list-unit-files |grep -q polkit.service; then
|
||||||
|
sudo systemctl try-restart polkit
|
||||||
|
fi
|
||||||
|
|
||||||
# Reload systemd configuration so that it picks up the new service.
|
# Reload systemd configuration so that it picks up the new service.
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user