[Lunar-commits] <moonbase> bash: move to /usr/bin

Auke Kok auke at foo-projects.org
Mon Apr 30 00:05:49 CEST 2012


On 04/29/2012 02:05 PM, Zbigniew Luszpinski wrote:
> I made 2 ideas how to do it. You look not happy. If you know better
> solution share with us.

actually, I'm pretty happy someone is looking at this.

we should probably just do:

if [ ! -h /bin ]; then
   ln -sf /usr/bin/bash /bin/sh &&
   ln -sf /usr/bin/bash /bin/bash &&
   ln -f  /usr/bin/bash /bin/rbash &&
fi

which should work in all cases

Auke


More information about the Lunar-dev mailing list