Updated the linker for geck and mono to use find instead of ls.

This commit is contained in:
Storm Dragon 2020-12-05 15:02:22 -05:00
parent fbabad8dfe
commit d26c52c467

View File

@ -177,8 +177,8 @@ install_wine_bottle() {
export WINEPREFIX="$HOME/.local/wine/${bottle}"
# Arguments to the function are dependancies to be installed.
(DISPLAY="" wineboot -u
wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /quiet
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /quiet
wine msiexec /i z:$(find /usr/share/wine/mono -name "wine-mono*x86.msi") /quiet
wine msiexec /i z:$(find /usr/share/wine/gecko -name "wine-gecko*x86.msi") /quiet
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
}