[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Utility to find new files in debian/tmp



  Hello:

El Viernes, 4 de enero de 2013, Lisandro Damián Nicanor Pérez Meyer escribió:
> On Fri 04 Jan 2013 05:25:25 Diane Trout escribió:
> > Hi
> > 
> > While removing a few files that appear to no longer exist I
> > occasionally managed to find a new file that wasn't being
> > installed anywhere by the current *.install files.
> > 
> > Is there any utility that will scan your debian/tmp directory
> > and your *.install files and tell you what doesn't exist any more
> > and finds new things that don't have a home?
> > 
> > Diane
> 
> Maybe you are looking the --list-missing option of dh_install?

  I went into the same problem and I was close to (possibly) reinventing the 
wheel. I'm attaching a script that invoked conveniently will tell you what files 
are no longer available in the .install files. You need to invoke it from the top 
source directory like this:
./pkg-kde-utils.sh -a <packagename>

  Regarding new files, existing but not installed, I also bet for the option 
Lisandro already pointed.

  The script is on a very early stage. I wasn't sure I was going to publish it, 
but the aim was having a convenince tool for common situations in the KDE 
packaging. If you find it useful, feel free to use it at your will, extend, fix 
and publish it.

  HTH,


-- 
     Raúl Sánchez Siles
----->Proud Debian user<-----
Linux registered user #416098

Attachment: pkg-kde-utils.sh
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: