Running:
sudo update-alternatives --install /usr/bin/x-www-browser \ x-www-browser /usr/bin/chromium-browser 40
as was done in the original postinst script for chromium-browser is enough to fix the problem.
Running:
sudo update-alternatives --install /usr/bin/ x-www-browser \
x-www- browser /usr/bin/ chromium- browser 40
as was done in the original postinst script for chromium-browser is enough to fix the problem.