1 Nov 2010 01:08
Bug#538822: [PATCH/RFC 1/2] debian/dash.preinst: cope better with local diversions
Jonathan Nieder <jrnieder <at> gmail.com>
2010-11-01 00:08:41 GMT
2010-11-01 00:08:41 GMT
Hi Gerrit, Ken Bloom wrote: > I can report on the broken scenario, since I made this change just a > few days ago to have dash provide /bin/sh on its own. > > The following instructions are given in > /usr/share/doc/bash/README.Debian.gz for making /bin/sh point to > something else. > > Type > > dpkg-divert --add /bin/sh > > and then point it to whatever you want. Upgrades to bash won't upgrade > the /bin/sh symlink. To put /bin/sh under dpkg control again, type > > dpkg-divert --remove /bin/sh Here's a patch implementing (II) from <http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=97;bug=546528>: -- 8< -- Subject: debian/dash.preinst: Cope better with local diversions Before dash was essential, local sysadmins and various packages like dash, pdksh, posh, and mksh would use dpkg-divert to redirect bash's /bin/sh elsewhere before installing their own /bin/sh symlink.(Continue reading)

RSS Feed