summaryrefslogtreecommitdiffstats
path: root/debian/bcfg2.postrm
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-10-02 17:03:03 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-10-02 17:03:03 +0000
commit2c31bf62cb9c67ab798c6730b149d4396934e27d (patch)
treeffec24f932bd3d747e79d540d8c51687bd820769 /debian/bcfg2.postrm
parent40625ce24d69afc3b06a510c4b96faf4483fad98 (diff)
downloadbcfg2-2c31bf62cb9c67ab798c6730b149d4396934e27d.tar.gz
bcfg2-2c31bf62cb9c67ab798c6730b149d4396934e27d.tar.bz2
bcfg2-2c31bf62cb9c67ab798c6730b149d4396934e27d.zip
Packaging fix from Ressu
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2349 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/bcfg2.postrm')
-rw-r--r--debian/bcfg2.postrm5
1 files changed, 4 insertions, 1 deletions
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)