Ólafur Jens Sigurðsson, Fri Jun 05 2009 20:24:48 GMT+0200 (CEST):
On Thu, Jun 04, 2009 at 12:03:25PM +0200, Peter Jordan wrote:
Hello,
is it possible to pass the package name and package version to a script
with DPkg::Pre-Invoke? If not, is there any other way?
Its really unclear what it is you want to do, is this a bash script
your talking about? A perl script? A Python script?
How are you going to get information from a package if you don't know
the name of the package?
If you know the name, then that answeres your first question, and the second
you can get by dpkg -s pkgname and some grep and awk (or a one line
perl script with some fancy RE)
Cheers
Oli
i want to log every change of packages in my system.
PJ
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org