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
1c2df36d
Commit
1c2df36d
authored
Jul 24, 2009
by
Austin English
Committed by
Alexandre Julliard
Aug 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineinstall: Ask about installation before running configure.
parent
70f00e91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
wineinstall
tools/wineinstall
+12
-13
No files found.
tools/wineinstall
View file @
1c2df36d
...
...
@@ -106,6 +106,17 @@ then
std_sleep
fi
# Ask the user if they want to build and install Wine:
echo
echo
"We need to install Wine as the root user. Do you want us to build Wine,"
echo
"'su root' and install Wine? Enter 'no' to build Wine without installing:"
conf_yesno_answer
"(yes/no) "
ROOTINSTALL
=
"
$ANSWER
"
if
[
"
$ROOTINSTALL
"
=
"yes"
]
then
sucommand
=
"make install"
fi
# run the configure script, if necessary
if
[
-f
Makefile
]
...
...
@@ -124,19 +135,7 @@ else
fi
fi
# now do the compilation and install, we need to always do this because we
# don't want the 'make install' command we might run to run 'make' as root
# ask the user if they want to build and install wine
echo
echo
"We need to install wine as root user, do you want us to build wine,"
echo
"'su root' and install Wine? Enter 'no' to continue without installing"
conf_yesno_answer
"(yes/no) "
ROOTINSTALL
=
"
$ANSWER
"
if
[
"
$ROOTINSTALL
"
=
"yes"
]
then
sucommand
=
"make install"
fi
# Now do the compilation and (optionally) installation
echo
echo
"Compiling Wine. Grab a lunch or two, rent a video, or whatever,"
...
...
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