summaryrefslogtreecommitdiff
path: root/etckeeper.spec
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 /etckeeper.spec
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 'etckeeper.spec')
-rw-r--r--etckeeper.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/etckeeper.spec b/etckeeper.spec
index 81b6842..35b7153 100644
--- a/etckeeper.spec
+++ b/etckeeper.spec
@@ -43,13 +43,13 @@ install -D debian/cron.daily $RPM_BUILD_ROOT/etc/cron.daily/etckeeper
rm -rf $RPM_BUILD_ROOT
%post
-%{_sbindir}/etckeeper init -d /etc/
+%{_bindir}/etckeeper init -d /etc/
mkdir -p %{_var}/cache/etckeeper
%files
%defattr(-,root,root,-)
%doc GPL INSTALL TODO README
-%{_sbindir}/*
+%{_bindir}/*
%{_mandir}/*
# this isn't very clever and its a manual process update.
# but it works