mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 01:44:18 +00:00
Fix Lutris restart for installs from their github
This commit is contained in:
parent
8e5193c173
commit
56f61bcb35
@ -1026,7 +1026,7 @@ preflight_check() {
|
||||
lutris_restart() {
|
||||
# Detect the installed versions of Lutris
|
||||
lutris_detect
|
||||
if [ "$lutris_native" = "true" ] && pgrep -f lutris | xargs ps -fp | grep -q "[/]usr/bin/lutris"; then
|
||||
if [ "$lutris_native" = "true" ] && pgrep -f lutris | xargs ps -fp | grep -Eq "[/]usr/bin/lutris|[/]usr/games/lutris"; then
|
||||
# Native Lutris is running
|
||||
debug_print continue "Restarting native Lutris..."
|
||||
pkill -f -SIGTERM lutris && nohup lutris </dev/null &>/dev/null &
|
||||
|
Loading…
Reference in New Issue
Block a user