Re: How to recover the debian/ dir
On Thu, Apr 15, 1999 at 04:47:04PM -0500, Jianming YOU wrote:
> Hi, Experts,
>
> I once packaged my own utility using debhelper and the resulted
> myutil_1.0-1.deb was installed succefully.
>
> Now I updated myutil and intent to build myutil_1.1. I could go through the
> same process from dh_make ..... The mentors from this mailing list always
> suggest to copy the debian dir and I understand it will save me a lot of
> repeated work. The problem is I did not save the debian dir last time.
>
> How can I recover the debian dir from myutil_1.0-1.deb ?
> I tried "dpkg -X myutil_1.0-1.deb myutil" and recovered the control file.
> Is that all? I think the deb file contains all the information needed to
> install a package, like the preinst, prerm,.... Am I missing something?
Use 'ar x myutil_1.0-1.deb' to unpack the parts of the deb, and then use
tar to extract the control files from control.tar.gz.
Adam
Reply to: