Added uninstall hints.

This commit is contained in:
Andreas Mohr 2001-04-09 18:32:16 +00:00 committed by Alexandre Julliard
parent f552359c31
commit de53c487ce
2 changed files with 12 additions and 0 deletions

4
README
View File

@ -124,6 +124,10 @@ Once Wine has been built correctly, you can do "make install"; this
will install the wine executable, the Wine man page, and a few other will install the wine executable, the Wine man page, and a few other
needed files. needed files.
Don't forget to uninstall any conflicting previous Wine installation
first. Try either "dpkg -r wine" or "rpm -e wine" or "make uninstall"
before installing.
If you want to build the documentation, you can run "make" in the If you want to build the documentation, you can run "make" in the
documentation directory. documentation directory.

View File

@ -183,6 +183,14 @@ if [ $RET -eq 0 ]; then
fi fi
fi fi
# check whether wine binary still available
if [ -n "`which wine`" ]; then
echo "Warning !! wine binary (still) found, which may indicate"
echo "a (conflicting) previous installation."
echo "You might want to abort and uninstall Wine first."
std_sleep
fi
# run the configure script, if necessary # run the configure script, if necessary
if [ -f config.cache ] && [ -f Makefile ] && [ Makefile -nt configure ] if [ -f config.cache ] && [ -f Makefile ] && [ Makefile -nt configure ]