From dacc64df9febc735bc3a65d113573bcf3afbc48c Mon Sep 17 00:00:00 2001 From: Fincer Date: Thu, 16 Mar 2017 18:04:19 +0200 Subject: [PATCH] Wine: Update PlayOnLinux bash script --- wine/playonlinux-script/install-to-pol.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wine/playonlinux-script/install-to-pol.sh b/wine/playonlinux-script/install-to-pol.sh index 0aeb49a..a265a76 100644 --- a/wine/playonlinux-script/install-to-pol.sh +++ b/wine/playonlinux-script/install-to-pol.sh @@ -37,5 +37,11 @@ cp -R ./pol_libs/lib ./playonlinux/linux-x86/$PKG/ cp -R ./playonlinux/linux-amd64/$PKG $HOME/.PlayOnLinux//wine/linux-amd64/ cp -R ./playonlinux/linux-x86/$PKG $HOME/.PlayOnLinux//wine/linux-x86/ +#Upgrade all PlayOnLinux Wine prefixes to use the compiled Wine version +for i in $HOME/.PlayOnLinux/wineprefix/*/playonlinux.cfg + do + sed -i "s/VERSION=.*/VERSION=$PKG/g" $i +done + #Remove these folders from the script folder rm -R ./playonlinux