From 2de91b4b1c1666ce9235efc5b8041688962a5d87 Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Thu, 5 Nov 2009 20:25:12 +0000 Subject: Fix traceback on bcfg2-server install. Make bcfg2-server not start up on install or by default at startup, to match behavior of bcfg2 client and not surprise the admin - also starting up bcfg2-server will just fail as currently the package does not install a working basic server configuration - this may be a debian policy bug - the user has to manually do bcfg2-admin init as root after install on clean installs. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5545 ce84e21b-d406-0410-9b95-82705330c041 --- debian/bcfg2-server.postrm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'debian/bcfg2-server.postrm') diff --git a/debian/bcfg2-server.postrm b/debian/bcfg2-server.postrm index 1eb191fd7..8a99ba03c 100644 --- a/debian/bcfg2-server.postrm +++ b/debian/bcfg2-server.postrm @@ -19,6 +19,17 @@ set -e case "$1" in purge) + for i in /etc/default/bcfg2-server; do + rm -f $i + + if which ucf >/dev/null; then + ucf --purge $i + fi + if which ucfr >/dev/null; then + ucfr --purge bcfg2 $i + fi + + done ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) -- cgit v1.2.3-1-g7c22