~ubuntu-branches/ubuntu/raring/landscape-client/raring-proposed

« back to all changes in this revision

Viewing changes to debian/landscape-client.config

  • Committer: Package Import Robot
  • Author(s): Andreas Hasenack
  • Date: 2012-12-10 10:27:12 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20121210102712-87pcpnbvndfmsfy2
Tags: 12.12-0ubuntu1
* New upstream release
* Slightly better regexp to change registration_password to
  registration_key during upgrades.
* Detect Microsoft Hyper-V virtualization (LP: #1087185).
* Prevent Apport from generating crash reports when dpkg returns an error
  (LP: #1076150).

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# Load config file, if it exists.
35
35
if [ -e $CONFIGFILE ]; then
36
36
    # Replace old registration_password to registration_key
37
 
    sed -i 's/^registration_password/registration_key/' $CONFIGFILE
 
37
    sed -ir 's/^registration_password[[:blank:]]*=/registration_key =/' $CONFIGFILE
38
38
    # Config file is "ini" type, not shell, so we cannot source it
39
39
    # If a setting is defined in the config file, update it in debconf
40
40
    # db.