From 9f62ccae2380b5026f70be279ebe36a3494a2259 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 18 Nov 2013 09:48:04 -0600 Subject: bcfg2.spec: Remove unnecessary replacement Our cron job is smart enough to work in any libexec directory. These replacements are unnecessary. Signed-off-by: Sol Jerome --- misc/bcfg2.spec | 3 --- tools/bcfg2-cron | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 2239e3a62..724cf975b 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -412,9 +412,6 @@ awk ' # Fixup some paths %{__perl} -pi -e 's@/etc/default@%{_sysconfdir}/sysconfig@g' tools/bcfg2-cron -%{__perl} -pi -e 's@/usr/lib/bcfg2@%{_libexecdir}@g' debian/bcfg2.cron.daily -%{__perl} -pi -e 's@/usr/lib/bcfg2@%{_libexecdir}@g' debian/bcfg2.cron.hourly - # Get rid of extraneous shebangs for f in `find src/lib -name \*.py` do diff --git a/tools/bcfg2-cron b/tools/bcfg2-cron index fe0e6e90d..9a93c2e44 100755 --- a/tools/bcfg2-cron +++ b/tools/bcfg2-cron @@ -1,6 +1,6 @@ #!/bin/sh # -# Script to run bcfg2 with cron. +# Script to run bcfg2 with cron. # # This script is designed so that bcfg2-cron can be invoked from both # /etc/cron.daily and /etc/cron.hourly. This allows the administrators to -- cgit v1.2.3-1-g7c22