summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
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