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

Re: question about Dash



>> I just tried `dpkg-reconfigure dash` and it broke some of my
>> wrapper scripts. At some point I'll make them POSIX compliant, but
>> until then I'd like to set my system back to what it was. I tried
>> `dpkg-reconfigure bash`, but a particular wrapper script is still
>> failing (worked fine before `dpkg-reconfigure dash`). Any suggestions
>> regarding how to set things back? I'm running sid.
> 
> dpkg-reconfigure -p low dash
> Answer "no" to the "Install dash as /bin/sh" question.
> Dash should then remove it's diversion of /bin/sh -> /bin/sh.distrib

Thanks! That did the trick.

> but you should really do as Siggy suggested and use "#!/bin/bash" as
> your shebang line if you don't have time to properly fix the script.

Good call, when I have a bit more time I'll change the shebang lines
in the relevant scripts to #!/bin/bash and set the default shell back
to dash. Then, when I have even more time I'll fix those scripts.

John


-- 
John Magolske
http://B79.net/contact


Reply to: