summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/wine-unstable-hotfix
blob: 50814653bb8decb434e522552d653fe97f8f2af7 (plain)
1
2
3
4
5
6
7
#!/bin/sh
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