diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-25 16:25:07 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-25 16:25:07 -0500 |
commit | 356ea8d66100b987b03c810b1d613a47094f910d (patch) | |
tree | 4516951ba91d7a4542c3020d844d8d8bc3ae9165 | |
parent | 04cb91a8bd95b451115003ab5bbf395cd655d36d (diff) |
Fix hook scripts to use new etckeeper path. Closes: #509742
-rw-r--r-- | apt.conf | 8 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | pacman-g2.hook | 4 |
3 files changed, 12 insertions, 6 deletions
@@ -1,5 +1,5 @@ -DPkg::Pre-Install-Pkgs { "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; }; -DPkg::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; }; +DPkg::Pre-Install-Pkgs { "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/bin/etckeeper ]; then etckeeper pre-install; fi"; }; -RPM::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; }; +RPM::Pre-Install-Pkgs { "if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install; fi"; }; +RPM::Post-Invoke { "if [ -x /usr/sbin/etckeeper ]; then etckeeper post-install; fi"; }; diff --git a/debian/changelog b/debian/changelog index 60c5ad4..07bcc17 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +etckeeper (0.23) UNRELEASED; urgency=low + + * Fix hook scripts to use new etckeeper path. Closes: #509742 + + -- Joey Hess <joeyh@debian.org> Thu, 25 Dec 2008 16:24:42 -0500 + etckeeper (0.22) unstable; urgency=low * Move etckeeper to sbin, and man page to section 8, since only an admin diff --git a/pacman-g2.hook b/pacman-g2.hook index ac2e099..bd93d73 100644 --- a/pacman-g2.hook +++ b/pacman-g2.hook @@ -1,13 +1,13 @@ #!/bin/sh pre_sysupgrade() { - if [ -x /usr/bin/etckeeper ]; then + if [ -x /usr/sbin/etckeeper ]; then etckeeper pre-install fi } post_sysupgrade() { - if [ -x /usr/bin/etckeeper ]; then + if [ -x /usr/sbin/etckeeper ]; then etckeeper post-install fi } |