Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8bba9bad
Commit
8bba9bad
authored
Aug 28, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Aug 28, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a wine rpm uninstall section to wineinstall.
parent
bd1908f0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
wineinstall
tools/wineinstall
+24
-0
No files found.
tools/wineinstall
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 ]
...
...
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