I made a simple patch on top of the current package. It creates dos2unix and unix2dos links via update-alternatives, so we could easily replace them when dos2unix package will be ready.
You can build patched deb as follows:
sudo apt-get build-dep tofrodos sudo apt-get source tofrodos cd tofrodos-1.7.8.debian.1 patch -p1 < ../alternatives.patch dpkg-buildpackage
I made a simple patch on top of the current package. It creates dos2unix and unix2dos links via update- alternatives, so we could easily replace them when dos2unix package will be ready.
You can build patched deb as follows:
sudo apt-get build-dep tofrodos 1.7.8.debian. 1 .patch
sudo apt-get source tofrodos
cd tofrodos-
patch -p1 < ../alternatives
dpkg-buildpackage