diff options
Diffstat (limited to 'debian/bcfg2.postrm')
-rw-r--r-- | debian/bcfg2.postrm | 5 |
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) |