[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ash vs. bash

> Cool.  Well, I had another testimonial off-list by Steve Lamb, who uses
> ash as his /bin/sh.
> Anyone think of a reason why we shouldn't make this policy (does it have
> to be policy, or can we just do it?)

What needs to happen is that bash's package protect the existing /bin/sh.  If
you link /bin/sh -> /bin/ash and update bash, it will become a link to bash
again.  This is a posted bug on bash which has yet to be fixed.

A simple:

if ! -e /bin/sh
        ln -s /bin/sh /bin/bash

would suffice.

Reply to: