Commit 314150f2 authored by Alexandre Julliard's avatar Alexandre Julliard

Invoke wineprefixcreate if the .wine directory does not exist.

parent df552571
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment