mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-27 09:04:19 +00:00
Clarify error messages
This commit is contained in:
parent
e270094435
commit
d4e81793e1
@ -2522,12 +2522,12 @@ install_game_lutris() {
|
||||
# Check if Lutris is installed
|
||||
lutris_detect
|
||||
if [ "$lutris_installed" = "false" ]; then
|
||||
message warning "Lutris is required but does not appear to be installed."
|
||||
message error "Lutris is required but does not appear to be installed."
|
||||
return 1
|
||||
fi
|
||||
# Check if the install script exists
|
||||
if [ ! -f "$lutris_install_script" ]; then
|
||||
message warning "Lutris install script not found!\n\n$lutris_install_script\n\nIt is included in our official releases here:\n$releases_url"
|
||||
message error "Lutris install script not found! Unable to proceed.\n\n$lutris_install_script\n\nIt is included in our official releases here:\n$releases_url"
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -2589,7 +2589,7 @@ install_game_wine() {
|
||||
fi
|
||||
# Check if the install script exists
|
||||
if [ ! -f "$wine_launch_script" ]; then
|
||||
message warning "Game launch script not found!\n\n$wine_launch_script\n\nIt is included in our official releases here:\n$releases_url"
|
||||
message error "Game launch script not found! Unable to proceed.\n\n$wine_launch_script\n\nIt is included in our official releases here:\n$releases_url"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user