diff options
author | Joerg Schirottke <master@kanotix.com> | 2014-08-22 22:52:46 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2014-08-24 09:06:11 +0200 |
commit | 7729238e7fc841b597ccd97c96aa3e1be6676881 (patch) | |
tree | 19a88b1f963f03ea48992bb83dc42b97895b851d /config/chroot_local-hooks/wine-unstable-hotfix | |
parent | c1225340d5dc9006c1aef8ebd2fc777ee0ffd7fa (diff) | |
download | kanotix-7729238e7fc841b597ccd97c96aa3e1be6676881.zip kanotix-7729238e7fc841b597ccd97c96aa3e1be6676881.tar.gz |
wine-development hotfix
Diffstat (limited to 'config/chroot_local-hooks/wine-unstable-hotfix')
-rwxr-xr-x | config/chroot_local-hooks/wine-unstable-hotfix | 10 |
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 |