~ubuntu-branches/ubuntu/karmic/checkbox/karmic

« back to all changes in this revision

Viewing changes to install/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Dave Murphy
  • Date: 2009-03-31 13:54:12 UTC
  • Revision ID: james.westby@ubuntu.com-20090331135412-vmhyxdpkwhxg7u2i
Tags: 0.7.1
* New Bugfix release (LP: #352389)
* New icon
* Fixed pygst dependency (LP: #334442)
* Fixed configuration file updates during install (LP: #330596) and
  and DBus exceptions (LP: #344916)
* Expanded and fixed translations (LP: #347038)

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        # Update the temporary file with preseeded values.
54
54
        /usr/share/checkbox/install/config --output=$tempfile $package
55
55
 
56
 
        # Invoke ucf, which will take care of the rest, and ask
57
 
        # the user if he wants to update his file, if it is modified.
58
 
        [ -e "$config" ] && ucf --debconf-ok $tempfile $config || cp $tempfile $config
 
56
        # Clobber the old config file.
 
57
        cp $tempfile $config
59
58
 
60
59
        # Now clear up the cruft.
61
60
        rm -f $tempfile