diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-02-04 21:46:29 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-02-04 21:46:29 -0500 |
commit | 20fa64d65a8263065e7a69852a094e081fdfbd0d (patch) | |
tree | 6829d8794a81eda9b980f504e8fdb9ad17ccbc8f | |
parent | 1c6c74fd2a6a9b9fd0c650f38a4c6b9d0e7b4f79 (diff) |
As part of the darcs support, change the apt hook to run Pre-Invoke,
rather than Pre-Install-Pkgs.
Gian Piero Carrubba
> It seems to me that etckeeper doesn't use the package names received on the
> stdin and I think there's no other (substantial) difference between these two
> hooks. OTH, this allows the use of darcs w/o the -a option to the record
> command (commit w/o confirmation) and it's useful for examining automatic
> pre-install commits.
-rw-r--r-- | apt.conf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ -DPkg::Pre-Install-Pkgs { "if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi"; }; +DPkg::Pre-Invoke { "if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi"; }; DPkg::Post-Invoke { "if [ -x /usr/sbin/etckeeper ]; then etckeeper post-install; fi"; }; -RPM::Pre-Install-Pkgs { "if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi"; }; +RPM::Pre-Invoke { "if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi"; }; RPM::Post-Invoke { "if [ -x /usr/sbin/etckeeper ]; then etckeeper post-install; fi"; }; |