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
new file mode 100755
index 0000000..09f2713
--- /dev/null
+++ b/config/chroot_local-hooks/wine-unstable-hotfix
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ -x /usr/bin/wine-unstable -a ! -x /usr/bin/wine ]; then
+ printf '#!/bin/sh\nwine-unstable "$@"\n' > /usr/bin/wine
+ chmod +x /usr/bin/wine
+fi