Clear display variable to avoid problem with wine asking to install mono in an inaccessible dialog.
This commit is contained in:
parent
a680e8a462
commit
66a9a6d0e6
@ -128,7 +128,8 @@ install_wine_bottle() {
|
|||||||
mkdir -p "$HOME/.local/wine/${bottle}"
|
mkdir -p "$HOME/.local/wine/${bottle}"
|
||||||
export WINEPREFIX="$HOME/.local/wine/${bottle}"
|
export WINEPREFIX="$HOME/.local/wine/${bottle}"
|
||||||
# Arguments to the function are dependancies to be installed.
|
# Arguments to the function are dependancies to be installed.
|
||||||
(wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
|
(DISPLAY="" wineboot -u
|
||||||
|
wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
|
||||||
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
|
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
|
||||||
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user