Graham Williams wrote:
Received Mon 25 Apr 2005  3:23pm +1000 from Jerry Quinn:

Package: wajig
Version: 2.0.25
Severity: wishlist

I'm looking for an equivalent to rpm -q --scripts <pkg>.


Hi Jerry,

Thanks for the bug report.  It looks like a useful idea.  A little
more detail would help me though.  What would you expect the output of
the command to be. For example, would do you expect from:

wajig list-scripts most

I'd want to see something like:

package most-2.3-1 scripts
[postinst]
#!/bin/sh
echo "hi there"

[prerm]
echo "Are you sure"

where these are the scripts that are part of the package. They seem to be in /var/lib/dpkg/info/<pkg>.{preinst, postinst, etc}. But I can never remember where they are, and I like the ability to ask the package management system about them.

I'd also love to see this as part of dpkg to dump the scripts from a deb. I find -c a nuisance since I have to clean up, and most of the time I just want to see what the pkg is going to do on install.

Cheers,
Jerry


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to