summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-15 18:12:49 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-15 18:12:49 +0000
commitb2bc07ad7250e01ea64ee5e6fd39dab65ab28c74 (patch)
tree79fced09b286ff6bb9881711f2589a733bb5133d /misc
parentd08c4ddf45cd35af5fb1381a11485f46b7148e1d (diff)
downloadbcfg2-b2bc07ad7250e01ea64ee5e6fd39dab65ab28c74.tar.gz
bcfg2-b2bc07ad7250e01ea64ee5e6fd39dab65ab28c74.tar.bz2
bcfg2-b2bc07ad7250e01ea64ee5e6fd39dab65ab28c74.zip
Fix /etc/default/bcfg2 installation in rpm spec
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2070 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'misc')
-rw-r--r--misc/bcfg2.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 6d5237ef3..fc4b9801a 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -39,11 +39,12 @@ python%{pythonversion} setup.py build
python%{pythonversion} setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
mkdir -p ${RPM_BUILD_ROOT}/etc/init.d/
+mkdir -p ${RPM_BUILD_ROOT}/etc/default
mv ${RPM_BUILD_ROOT}/usr/bin/bcfg2* ${RPM_BUILD_ROOT}/usr/sbin
mv ${RPM_BUILD_ROOT}/usr/bin/StatReports ${RPM_BUILD_ROOT}/usr/sbin
install -m 755 debian/buildsys/common/bcfg2.init ${RPM_BUILD_ROOT}/etc/init.d/bcfg2
install -m 755 debian/buildsys/common/bcfg2-server.init ${RPM_BUILD_ROOT}/etc/init.d/bcfg2-server
-install -m 755 debian/bcfg2.default -d ${RPM_BUILD_ROOT}/etc/default
+install -m 755 debian/bcfg2.default ${RPM_BUILD_ROOT}/etc/default/bcfg2
%clean
rm -rf $RPM_BUILD_ROOT