~ubuntu-branches/ubuntu/hardy/bcfg2/hardy-updates

« back to all changes in this revision

Viewing changes to debian/bcfg2.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Sami Haahtinen
  • Date: 2006-11-16 22:39:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061116223916-8dtn3t86cz58vg2x
Tags: 0.8.6.1-1
* New Upstream Release
* Replaced faulty if clause in bcfg2.postrm (Closes: #398772)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
       purge)
22
22
         for i in /etc/default/bcfg2 /etc/bcfg2.conf; do
23
23
           rm -f $i
24
 
           # This might prove to be a bug, assuming that ucf is in /usr/sbin
25
 
           if [ -x /usr/bin/ucf ]; do
26
 
             ucf -p $i
27
 
           done
 
24
           # This might prove to be a bug, assuming that ucf is in /usr/sbin
 
25
           test -x /usr/bin/ucf && ucf -p $i
28
26
         done
29
27
         ;;
30
28
       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)