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
6dc00548
Commit
6dc00548
authored
24 years ago
by
Andreas Mohr
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wineinstall didn't create the default no-windows directory /c
when just pressing enter.
parent
7897de4e
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
+14
-5
14 additions, 5 deletions
tools/wineinstall
with
14 additions
and
5 deletions
tools/wineinstall
+
14
−
5
View file @
6dc00548
...
...
@@ -75,6 +75,10 @@ TMPREG=/tmp/wineinstall.reg
# functions
function
std_sleep
{
sleep
1
}
function
conf_question
{
# parameters: $1 = importance, $2 = question-id, $3+ = message lines
# the first two parameters can be used by e.g. debconf in debian packages
...
...
@@ -157,6 +161,7 @@ fi
if
[
-f
config.cache
]
&&
[
-f
Makefile
]
&&
[
Makefile
-nt
configure
]
then
{
echo
"I see that WINE has already been configured, so I'll skip that."
std_sleep
# load configure results
.
./config.cache
}
...
...
@@ -196,11 +201,13 @@ fi
if
[
-f
wine
]
&&
[
wine
-nt
Makefile
]
then
{
echo
"Hmm, looks like WINE is already compiled. I'll skip that too, I guess."
std_sleep
}
else
{
echo
"Compiling WINE. Grab a lunch or two, rent a video, or whatever,"
echo
"in the meantime..."
echo
std_sleep
if
!
{
make depend
&&
make
;
}
then
{
echo
...
...
@@ -233,6 +240,7 @@ then {
else
{
echo
"Now installing binaries onto the system..."
echo
std_sleep
if
!
make
install
then
{
echo
...
...
@@ -358,17 +366,18 @@ then {
"Configuring Wine without Windows."
\
"Some fake Windows directories must be created, to hold any .ini files, DLLs,"
\
"start menu entries, and other things your applications may need to install."
\
"Where would
o
yu like your fake C drive to be placed?"
"Where would y
o
u like your fake C drive to be placed?"
while
[
-z
"
$CROOT
"
]
do
{
conf_string_answer
"(default is
$DCROOT
) "
if
[
-z
"
$ANSWER
"
]
then
CROOT
=
"
$DCROOT
"
elif
!
[
-d
"
$ANSWER
"
]
[
-z
"
$ANSWER
"
]
&&
ANSWER
=
"
$DCROOT
"
if
!
[
-d
"
$ANSWER
"
]
then
{
if
mkdir
-p
"
$ANSWER
"
then
CROOT
=
"
$ANSWER
"
else
conf_reset_question drivec_path
else
echo
"Directory
$ANSWER
can't be created !"
conf_reset_question drivec_path
fi
}
else
CROOT
=
"
$ANSWER
"
...
...
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