Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
winetricks
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
winetricks
Commits
f75f60c6
Commit
f75f60c6
authored
Jun 18, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove old kdialog patch
parent
d4a95427
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
066a2334ebc6fb608825949d7c642b1441bc403a.patch
patches/066a2334ebc6fb608825949d7c642b1441bc403a.patch
+0
-30
No files found.
patches/066a2334ebc6fb608825949d7c642b1441bc403a.patch
deleted
100644 → 0
View file @
d4a95427
From 066a2334ebc6fb608825949d7c642b1441bc403a Mon Sep 17 00:00:00 2001
From: Vitaly Lipatov <lav@etersoft.ru>
Date: Mon, 23 May 2022 21:37:20 +0300
Subject: [PATCH] fix detection for --gui without args
---
src/winetricks | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/winetricks b/src/winetricks
index cd2a344bb..2ede77ceb 100755
--- a/src/winetricks
+++ b/src/winetricks
@@ -3271,11 +3271,13 @@ winetricks_early_wine_arch()
winetricks_detect_gui()
{
- if [ -n "$1" ]; then
- if [ "$1" = "kdialog" ] && test -x "$(command -v kdialog 2>/dev/null)"; then
+ if [ "$1" = "--gui" ] && [ -n "$2" ] ; then
+ if [ "$2" = "kdialog" ] ; then
+ test -x "$(command -v kdialog 2>/dev/null)" || w_die "--gui kdialog is forced, but kdialog command is missed."
WINETRICKS_GUI=kdialog
WINETRICKS_GUI_VERSION="$(kdialog --version)"
- elif [ "$1" = "zenity" ] || [ "$1" = "--gui" ] && test -x "$(command -v zenity 2>/dev/null)"; then
+ elif [ "$2" = "zenity" ] ; then
+ test -x "$(command -v zenity 2>/dev/null)" || w_die "--gui zenity is forced, but zenity command is missed."
WINETRICKS_GUI=zenity
WINETRICKS_GUI_VERSION="$(zenity --version)"
WINETRICKS_MENU_HEIGHT=500
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment