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-hotfix10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/chroot_local-hooks/wine-unstable-hotfix b/config/chroot_local-hooks/wine-unstable-hotfix
index 09f2713..5081465 100755
--- a/config/chroot_local-hooks/wine-unstable-hotfix
+++ b/config/chroot_local-hooks/wine-unstable-hotfix
@@ -1,5 +1,7 @@
#!/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
+for w in wine-unstable wine-development; do
+ if [ -x /usr/bin/$w -a ! -x /usr/bin/wine ]; then
+ printf '#!/bin/sh\n'$w' "$@"\n' > /usr/bin/wine
+ chmod +x /usr/bin/wine
+ fi
+done