Invoke wineprefixcreate if the .wine directory does not exist.

This commit is contained in:
Alexandre Julliard 2004-07-16 02:45:25 +00:00
parent df55257115
commit 314150f220

View File

@ -84,6 +84,13 @@ then
. $topdir/.winewrapper
fi
# create prefix directory if needed
if [ -z "$WINEPREFIX" -a ! -d "$HOME/.wine" ]
then
"$topdir/tools/wineprefixcreate" --update --use-wine-tree "$topdir"
fi
# and run the application
case "$0" in