[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] Bug#758291: Bug#758291: Bug#758291: Complete solution for update-alternatives



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 <jre.winesim@gmail.com>
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 <mgilbert@debian.org>
 -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 to: