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

Bug#170276: apt: [wish] Way to invoke command(s) after an APT session during which dpkg was called.

Package: apt
Version: 0.5.4
Severity: wishlist

Hash: SHA1

There should be a way to specify that some arbitrary shell command(s) should be
run after an APT session during which dpkg was invoked. This could be used to
update the dlocate database when packages are changed, for example.

Taking this concept a little further, APT could search a directory full of
scripts (/etc/apt/postproc.d/ or some such) and run each one in order, and
packages (such as dlocate) could drop scripts into that directory to be run,
making the process of updating the dlocate database completely automatic and
transparent to the system administrator.

- -- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cornerstone 2.4.19 #2 Fri Nov 8 07:53:54 PST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages apt depends on:
ii  libc6                        2.3.1-3     GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-12 The GNU stdc++ library

- -- no debconf information

Version: GnuPG v1.2.1 (GNU/Linux)


Reply to: