summaryrefslogtreecommitdiff
path: root/apt.conf
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-04 21:46:29 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-04 21:46:29 -0500
commit20fa64d65a8263065e7a69852a094e081fdfbd0d (patch)
tree6829d8794a81eda9b980f504e8fdb9ad17ccbc8f /apt.conf
parent1c6c74fd2a6a9b9fd0c650f38a4c6b9d0e7b4f79 (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.
Diffstat (limited to 'apt.conf')
-rw-r--r--apt.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt.conf b/apt.conf
index bd6afc5..30ac586 100644
--- a/apt.conf
+++ b/apt.conf
@@ -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"; };