From 2c31bf62cb9c67ab798c6730b149d4396934e27d Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 2 Oct 2006 17:03:03 +0000 Subject: Packaging fix from Ressu git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2349 ce84e21b-d406-0410-9b95-82705330c041 --- debian/bcfg2.postrm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/bcfg2.postrm') diff --git a/debian/bcfg2.postrm b/debian/bcfg2.postrm index c1ae4800c..fc9ecf1b8 100644 --- a/debian/bcfg2.postrm +++ b/debian/bcfg2.postrm @@ -21,7 +21,10 @@ case "$1" in purge) for i in /etc/default/bcfg2 /etc/bcfg2.conf; do rm -f $i - ucf -p $i + # This might prove to be a bug, assuming that ucf is in /usr/sbin + if [ -x /usr/bin/ucf ]; do + ucf -p $i + done done ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) -- cgit v1.2.3-1-g7c22