summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2014-08-22 22:52:46 +0200
committerHolger Paradies <retabell@gmx.de>2014-08-24 09:06:11 +0200
commit7729238e7fc841b597ccd97c96aa3e1be6676881 (patch)
tree19a88b1f963f03ea48992bb83dc42b97895b851d /config/chroot_local-hooks
parentc1225340d5dc9006c1aef8ebd2fc777ee0ffd7fa (diff)
downloadkanotix-7729238e7fc841b597ccd97c96aa3e1be6676881.zip
kanotix-7729238e7fc841b597ccd97c96aa3e1be6676881.tar.gz
wine-development hotfix
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