~free.ekanayaka/landscape-client/lucid-1.5.4-0ubuntu0.10.04.0

« back to all changes in this revision

Viewing changes to landscape/package/releaseupgrader.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-06-28 18:07:18 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100628180718-vytyqgbtkiirv5sb
Tags: 1.5.2.1-0ubuntu0.10.04.0
Filter duplicate network interfaces in get_active_interfaces (LP: #597000)

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
                scripts = config.get("Distro", "PostInstallScripts")
200
200
                scripts += ", ./dbus.sh"
201
201
                config.set("Distro", "PostInstallScripts", scripts)
 
202
 
 
203
            # Write config changes to disk
202
204
            fd = open(config_filename, "w")
203
205
            config.write(fd)
204
206
            fd.close()
205
207
 
 
208
            # Generate the post-install script that starts DBus
206
209
            dbus_sh_filename = os.path.join(upgrade_tool_directory,
207
210
                                            "dbus.sh")
208
211
            fd = open(dbus_sh_filename, "w")