Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
8bba9bad
Commit
8bba9bad
authored
24 years ago
by
Andreas Mohr
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added a wine rpm uninstall section to wineinstall.
parent
bd1908f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/wineinstall
+24
-0
24 additions, 0 deletions
tools/wineinstall
with
24 additions
and
0 deletions
tools/wineinstall
+
24
−
0
View file @
8bba9bad
...
...
@@ -78,6 +78,30 @@ then {
}
fi
# check whether RPM installed, and if it is, remove any old wine rpm.
hash
rpm
;
RET
=
$?
&>/dev/null
if
[
$RET
-eq
0
]
;
then
if
[
-n
"
`
rpm
-qi
wine 2>/dev/null|grep
"^Name"
`
"
]
;
then
echo
"Warning: Old Wine RPM install detected. We want to get rid of it first."
echo
-n
"ok (Y/n) ? "
read
DOWINE
if
[
"
$DOWINE
"
!=
'n'
-a
"
$DOWINE
"
!=
'N'
]
;
then
echo
Starting wine rpm removal...
rpm
-e
wine
;
RET
=
$?
if
[
$RET
-eq
0
]
;
then
echo
Done.
else
echo
FAILED. Probably you aren
't installing as root.
fi
else
echo "Sorry, I won'
t
install
Wine when an rpm version is still installed.
"
echo "
(
Wine support suffered from way too many conflicts
)
"
echo "
Have a
nice
day
!
"
exit
fi
fi
fi
# run the configure script, if necessary
if [ -f config.cache ] && [ -f Makefile ] && [ Makefile -nt configure ]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment