Hi,

the -development patches missed the wineapploader fix (I didn't notice
this when testing, because the alternative system conceals this problem).

The attached patch goes on top of alternatives-master_DEBSUFFIX.patch or
alternatives-master_minimal.patch.

Thanks
jre
commit de9184e06cd9f759afc3abd45acd50ceeaa2ad6f
Author: jre <[email protected]>
Date:   Fri Sep 12 18:09:53 2014 +0200

    alternatives: fix wineapploader

diff --git a/debian/patches/wineapploader.patch b/debian/patches/wineapploader.patch
index 91fb0ff..d8dfa5b 100644
--- a/debian/patches/wineapploader.patch
+++ b/debian/patches/wineapploader.patch
@@ -10,7 +10,7 @@ author: Michael Gilbert <[email protected]>
 -appname=`basename "$0" .exe`.exe
 +app=$(basename "$0" .exe)
 +name=$(echo $app | cut -d- -f1)
-+suffix=$(echo $app | sed s/$name//)
++suffix=$(basename $(dirname $(readlink -f $(which $0))) | sed s/wine//)
 +appname=$name.exe
  
  # first try explicit WINELOADER

Reply via email to