summaryrefslogtreecommitdiff
path: root/pacman-g2.hook
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-11-16 14:15:01 -0400
committerJoey Hess <joey@kitenet.net>2010-11-16 14:15:01 -0400
commitd65203b1bf9c1889a47090113a98833f849ae94e (patch)
treea896e739454a09b867858fa278a55973b8fb24d1 /pacman-g2.hook
parent619e220a665f62a355bc895fd978b81018d96570 (diff)
Move etckeeper out of sbin, to avoid needing to work around broken root PATH settings in eg, crontab. Closes: #602438
Diffstat (limited to 'pacman-g2.hook')
-rw-r--r--pacman-g2.hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/pacman-g2.hook b/pacman-g2.hook
index bd93d73..ac2e099 100644
--- a/pacman-g2.hook
+++ b/pacman-g2.hook
@@ -1,13 +1,13 @@
#!/bin/sh
pre_sysupgrade() {
- if [ -x /usr/sbin/etckeeper ]; then
+ if [ -x /usr/bin/etckeeper ]; then
etckeeper pre-install
fi
}
post_sysupgrade() {
- if [ -x /usr/sbin/etckeeper ]; then
+ if [ -x /usr/bin/etckeeper ]; then
etckeeper post-install
fi
}