On 10/01/2014 07:45 PM, Augustin Cavalier wrote:
On 10/01/2014 01:37 PM, Jérôme Duval wrote:I added it as a mandatory package instead. Dunno if one could use another shell.No, but without declaring it as a dependency, the "pkgman update" will not auto-install it and break users' systems.
"pkgman update" updates all installed packages regardless of whether the haiku system package depends on them. If you can reproduce a case where it doesn't, please file a Trac ticket.
The haiku package really does need it, so it should be a dependency so one can't remove it by mistake either.
AFAICT the system only depends on /bin/sh, which doesn't necessarily have to be bash. ATM it is, which is why the symlink should be provided by the bash package together with a provides entry "cmd:sh", The haiku system package should declare that as a requirement. So, should we, at some later point, decide to switch to another standard shell, we'd only have to adjust the respective shell packages.
CU, Ingo