~ubuntu-branches/ubuntu/vivid/landscape-client/vivid

« back to all changes in this revision

Viewing changes to debian/landscape-client.config

  • Committer: Package Import Robot
  • Author(s): Andreas Hasenack
  • Date: 2013-02-21 16:35:46 UTC
  • Revision ID: package-import@ubuntu.com-20130221163546-fywn34t40bn90jnm
Tags: 12.12-0ubuntu3
Fixed sed command that updated registration_key (LP: #1131355).

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 -ir 's/^registration_password[[:blank:]]*=/registration_key =/' $CONFIGFILE
 
37
    sed -i -r '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.