Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine-winehq
Commits
b08d5bbe
Commit
b08d5bbe
authored
May 01, 2007
by
Ben Taylor
Committed by
Alexandre Julliard
May 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineinstall: Use `wine --version` instead of `which wine`.
parent
b39381f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wineinstall
tools/wineinstall
+3
-2
No files found.
tools/wineinstall
View file @
b08d5bbe
...
@@ -136,7 +136,8 @@ then {
...
@@ -136,7 +136,8 @@ then {
fi
fi
# check whether wine binary still available
# check whether wine binary still available
if
[
-n
"
`
which wine 2>/dev/null|grep
'/wine'
`
"
]
;
then
if
[
-n
"
`
wine
--version
2>/dev/null
`
"
]
then
echo
"Warning !! wine binary (still) found, which may indicate"
echo
"Warning !! wine binary (still) found, which may indicate"
echo
"a (conflicting) previous installation."
echo
"a (conflicting) previous installation."
echo
"You might want to abort and uninstall Wine first."
echo
"You might want to abort and uninstall Wine first."
...
@@ -267,7 +268,7 @@ then {
...
@@ -267,7 +268,7 @@ then {
# see if wine is installed on the users system, if not prompt them
# see if wine is installed on the users system, if not prompt them
# and then exit
# and then exit
if
[
!
`
which wine
`
]
if
[
-z
"
`
wine
--version
2>/dev/null
`
"
]
then
then
echo
"Could not find wine on your system. Run wineinstall as root to install wine"
echo
"Could not find wine on your system. Run wineinstall as root to install wine"
echo
"before re-running wineinstall as a user."
echo
"before re-running wineinstall as a user."
...
...
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