Editing Debian Binaries

I had to edit the preinst in a .deb for a package a couple of days ago because it was complaining about me having too little swap space and wouldn't let me install.

Freenode #debian to the rescue:

10:42 <jelly-home> Caelum: dpkg --extract foo.deb foo; dpkg --control foo.deb foo/DEBIAN; $EDITOR foo/DEBIAN/preinst; dpkg -b foo .

Thank you jelly-home, you rock.


Last modified: 2009-5-4 (月) at 2:57 am