summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2009-11-05 22:08:58 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2009-11-05 22:08:58 +0000
commit915f6ce26efa2346251310bba72597af81c80424 (patch)
tree0856f7a0cb173a1e7d660d272832dc2853127bb0 /debian/rules
parent53f51c35462072f7ff17fb772783ac03a0deca06 (diff)
downloadbcfg2-915f6ce26efa2346251310bba72597af81c80424.tar.gz
bcfg2-915f6ce26efa2346251310bba72597af81c80424.tar.bz2
bcfg2-915f6ce26efa2346251310bba72597af81c80424.zip
Now restarts after initial install and upgrade, as requested by desai. For some reason the debian tools are doing the wrong thing, so put in restart code after the autogenerated code - see comments for more details.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5550 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 2e8cb547f..033aed4c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,6 @@
override_dh_installinit:
# Install bcfg2 initscript without staring it on postinst
- dh_installinit -p bcfg2 --no-start
+ dh_installinit --package=bcfg2 --no-start
# Install bcfg2-server initscript without staring it on postinst
- dh_installinit -p bcfg2-server --no-start
- # Install everything else normally
- dh_installinit -N bcfg2
+ dh_installinit --package=bcfg2-server --no-start