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
e0521961
Commit
e0521961
authored
Apr 23, 2002
by
Dustin Navea
Committed by
Alexandre Julliard
Apr 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Search for real-windows registry now actually accesses a file.
Find clean-install win2k registry. Find correct partition of real Drive C (most of the time).
parent
ef79c38e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
wineinstall
tools/wineinstall
+12
-1
No files found.
tools/wineinstall
View file @
e0521961
...
@@ -74,6 +74,15 @@
...
@@ -74,6 +74,15 @@
# that require root access
# that require root access
# add text to tell the user we need to run stuff as root so they don't
# add text to tell the user we need to run stuff as root so they don't
# think we are trying to pull something funny
# think we are trying to pull something funny
# Apr 14 2002 - Dustin Navea
# Fix sed command when finding real-windows registry so it actually
# accesses a file (~/.wine/config) instead of null ($CONF?!)
# Added search for clean-install (not upgrade) Win2k registry
# (next day, after some sleep)
# Fix sed string when finding real-windows registry to actually find
# windows partition name in [Drive C] section
# it should now almost always find the windows partition and real-windows
# registry (if not, let me know)
#--- defaults (change these if you are a packager)
#--- defaults (change these if you are a packager)
CONFARGS
=
"--enable-opengl"
# configure args, e.g. --prefix=/usr --sysconfdir=/etc
CONFARGS
=
"--enable-opengl"
# configure args, e.g. --prefix=/usr --sysconfdir=/etc
...
@@ -578,12 +587,14 @@ fi
...
@@ -578,12 +587,14 @@ fi
# (not to be done if windows registry exists)
# (not to be done if windows registry exists)
if
[
"
$DOREG
"
=
'auto'
]
if
[
"
$DOREG
"
=
'auto'
]
then
{
then
{
CROOT
=
`
sed
-n
'/^\[Drive C\]$/,/^\[.*\]$/ s/^
Path=\(.*\)/\1/p'
$
CONF
`
CROOT
=
`
sed
-n
'/^\[Drive C\]$/,/^\[.*\]$/ s/^
\"Path\" = \"\(.*\)\"/\1/p'
$L
CONF
`
echo
"Checking for real Windows registry..."
echo
"Checking for real Windows registry..."
if
[
-f
"
$CROOT
/windows/system.dat"
]
if
[
-f
"
$CROOT
/windows/system.dat"
]
then
DOREG
=
no
then
DOREG
=
no
elif
[
-f
"
$CROOT
/windows/system32/config/system"
]
elif
[
-f
"
$CROOT
/windows/system32/config/system"
]
then
DOREG
=
no
then
DOREG
=
no
elif
[
-f
"
$CROOT
/WINNT/system32/config/system"
]
then
DOREG
=
no
else
DOREG
=
yes
else
DOREG
=
yes
fi
fi
if
[
"
$DOREG
"
=
'yes'
]
if
[
"
$DOREG
"
=
'yes'
]
...
...
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