> -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:ptxdist- > [email protected]] Im Auftrag von Frederik Sdun > Gesendet: Freitag, 8. Januar 2010 08:35 > An: [email protected] > Betreff: Re: [ptxdist] [PATCH 26/48] Fix issue with Ubuntu 'sh' and > .postinst
> You have to link /bin/sh to /bin/bash instead of dash. Ubuntu uses dash > instead of bash. It seems that there's some bashizm in the debian > scripts and many people do not realize that they use a bash extension > unless they're on a POSIX conform shell and use /bin/sh instead of > /bin/bash. That's a common problem. My Ubuntu system works fine with the current setup using dash and I don't want to mod my system. So the other solution is to modify the .postinst scripts to work with a plain POSIX sh shell. So local installs of ipkg file on the host would work correctly on Ubuntu with /bin/sh - not just ipkg installs on the target itself. There /bin/sh is linked to /bin/bash indeed. Changing the bang line was some much easier way without changing the whole script or moding my host system. Carsten -- ptxdist mailing list [email protected]
