tags 398772 + patch
thanks

Trivial patch for bug #398772 attached.

-- 
Regards,
Andreas Henriksson
diff -uri bcfg2-0.8.4/debian/bcfg2.postrm bcfg2-0.8.4.fixed/debian/bcfg2.postrm
--- bcfg2-0.8.4/debian/bcfg2.postrm     2006-11-15 16:02:17.000000000 +0100
+++ bcfg2-0.8.4.fixed/debian/bcfg2.postrm       2006-11-15 16:11:50.000000000 
+0100
@@ -21,10 +21,9 @@
        purge)
          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
+          if which ucf >/dev/null 2>&1; then
             ucf -p $i
-          done
+          fi
         done
         ;;
        remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

Reply via email to