From d26c52c467188358e78bb372f0b23979f94cf2ae Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 5 Dec 2020 15:02:22 -0500 Subject: [PATCH] Updated the linker for geck and mono to use find instead of ls. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 63f7836..5002b68 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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 }