summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-06-03 17:39:11 +1000
committerAndrew Tridgell <tridge@samba.org>2007-06-03 17:39:11 +1000
commitbc6ec7d0cf9d9afe3709fb4bcfe4351f5eac73bd (patch)
tree53db027e0cb57e86a2f26a225a8f656513f49d7c
parent2fea5e7b0e45a37485924d6f6a23ee95fc3e8d0f (diff)
fixed location of init.d directory to work on SLES and RHEL
(This used to be ctdb commit 962fa046c9ddde509690408030896d3335609341)
-rw-r--r--ctdb/packaging/RPM/ctdb.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec b/ctdb/packaging/RPM/ctdb.spec
index ef5622c55e..ab6a0e3c9e 100644
--- a/ctdb/packaging/RPM/ctdb.spec
+++ b/ctdb/packaging/RPM/ctdb.spec
@@ -1,4 +1,4 @@
-%define initdir %{_sysconfdir}/rc.d/init.d
+%define initdir %{_sysconfdir}/init.d
Summary: Clustered TDB
Vendor: Samba Team
@@ -53,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT
# Create the target build directory hierarchy
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
make DESTDIR=$RPM_BUILD_ROOT install