summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2015-03-16 20:49:10 +0100
committerHolger Paradies <retabell@gmx.de>2015-03-16 21:39:49 +0100
commita3d46ab18ddd5acd792fd087ff07a5773ffc88ef (patch)
tree64d613183d441b8b01f8814e7789c7047610c559 /config/chroot_local-hooks
parent57c5779566674a8f65846894e84f869aa7143461 (diff)
downloadkanotix-a3d46ab18ddd5acd792fd087ff07a5773ffc88ef.zip
kanotix-a3d46ab18ddd5acd792fd087ff07a5773ffc88ef.tar.gz
use wine-staging from fds-team
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/wine-unstable-hotfix5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/wine-unstable-hotfix b/config/chroot_local-hooks/wine-unstable-hotfix
index 5081465..5a41912 100755
--- a/config/chroot_local-hooks/wine-unstable-hotfix
+++ b/config/chroot_local-hooks/wine-unstable-hotfix
@@ -5,3 +5,8 @@ for w in wine-unstable wine-development; do
chmod +x /usr/bin/wine
fi
done
+
+if [ -x /opt/wine-staging/bin/wine ]; then
+ printf '#!/bin/sh\n/opt/wine-staging/bin/wine "$@"\n' > /usr/bin/wine
+ chmod +x /usr/bin/wine
+fi