diff options
-rw-r--r-- | debian/bcfg2.postrm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/bcfg2.postrm b/debian/bcfg2.postrm index fc9ecf1b8..bd6264cd7 100644 --- a/debian/bcfg2.postrm +++ b/debian/bcfg2.postrm @@ -22,9 +22,7 @@ case "$1" in for i in /etc/default/bcfg2 /etc/bcfg2.conf; do rm -f $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 + test -x /usr/bin/ucf && ucf -p $i done ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |