Added creation of c:/windows/fonts and
c:/windows/Start Menu/Programs/Startup.
This commit is contained in:
parent
c949349cab
commit
3ebea438cc
|
@ -174,7 +174,8 @@ function create_windows_directories {
|
|||
for tdir in "$CROOT/windows" "$CROOT/windows/system" "$CROOT/windows/system32" \
|
||||
"$CROOT/windows/Start Menu" "$CROOT/windows/Start Menu/Programs" \
|
||||
"$CROOT/Program Files" "$CROOT/Program Files/Common Files" \
|
||||
"$CROOT/windows/Profiles" "$CROOT/windows/Profiles/Administrator"
|
||||
"$CROOT/windows/Profiles" "$CROOT/windows/Profiles/Administrator" \
|
||||
"$CROOT/windows/Fonts" "$CROOT/windows/Start Menu/Programs/Startup"
|
||||
do [ -d "$tdir" ] || mkdir "$tdir"
|
||||
done
|
||||
[ -f "$CROOT/windows/win.ini" ] || cp "$WININI" "$CROOT/windows/win.ini"
|
||||
|
@ -403,11 +404,6 @@ then {
|
|||
}
|
||||
fi
|
||||
}
|
||||
else {
|
||||
echo "You are running wineinstall as root, this is not advisable. Please rerun as a user."
|
||||
echo "Aborting."
|
||||
exit 1
|
||||
}
|
||||
fi # [ `whoami` != 'root' ]
|
||||
|
||||
}
|
||||
|
@ -453,7 +449,24 @@ then {
|
|||
conf_yesno_answer "(yes/no) "
|
||||
DOLOCALCONF="$ANSWER"
|
||||
echo
|
||||
else {
|
||||
if [ "$ANSWER" = "yes" ]
|
||||
then
|
||||
{
|
||||
echo "Would you like to make a backup of this old config file?"
|
||||
conf_yesno_answer "(yes/no) "
|
||||
echo
|
||||
if [ "$ANSWER" = "yes" ]
|
||||
then
|
||||
{
|
||||
echo "Renaming $LCONF to $LCONF.old"
|
||||
mv -f "$LCONF" "$LCONF.old"
|
||||
echo
|
||||
}
|
||||
fi
|
||||
}
|
||||
fi
|
||||
else
|
||||
{
|
||||
echo "Create local config file ~/.wine/config?"
|
||||
conf_yesno_answer "(yes/no) "
|
||||
DOLOCALCONF="$ANSWER"
|
||||
|
|
Loading…
Reference in New Issue